Open miklosme opened 7 years ago
Bug
babel-plugin-console
node
npm
yarn
{ [ActionTypes.FOO_BAR](payload) { // ... console.scope('debug') }, }
Put console.scope inside a function, which is assigned to a computed property.
console.scope
Result: transpile fails, says Cannot read property 'name' of undefined.
Cannot read property 'name' of undefined
Thanks @miklosme for the bug report :+1:
I'm away from a keyboard for rest of the week so I'll take a look when I'm back
Bug
babel-plugin-console
version: 0.2.0node
version: v6.9.4npm
(oryarn
) version: yarn v0.27.5Put
console.scope
inside a function, which is assigned to a computed property.Result: transpile fails, says
Cannot read property 'name' of undefined
.