Closed arv closed 9 years ago
@johnjbarton PTAL
LGTM, but I don't see immediately how the fix and the bug are connected.
A while back I made the transformers and visitors more strict. They now fail when undefined
is passed which was the case because WhileStatement
does not have an initializer
.
The transformer was incorrectly calling transformAny with undefined.
Fixes #1970