Closed ghost closed 9 years ago
I receive TypeError: Cannot read property 'transform' of undefined when trying to compile any code that follows this pattern:
TypeError: Cannot read property 'transform' of undefined
while( true ) { let foo = 1; ( () => { foo; } )(); }
It seems to involve the following components:
while
for
let
const
var
2
I understand this code might be buggy or bad practice, but the error from Traceur is cryptic.
I am compiling using traceur v0.0.90 via grunt-traceur v0.5.4.
@arv Wow! You fixed that fast!
...because I'm addicted to the "Wow!"s
I receive
TypeError: Cannot read property 'transform' of undefined
when trying to compile any code that follows this pattern:It seems to involve the following components:
while
loop (for
loops seem unaffected)let
orconst
(var
is fine)2
is referenced inside a closure within the loopI understand this code might be buggy or bad practice, but the error from Traceur is cryptic.
I am compiling using traceur v0.0.90 via grunt-traceur v0.5.4.