You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did you try with --validate? When turned on it validated the parse tree after each transformation. It seems likely that one of the transformations generates an invalid tree.
This is a bit of an obscure error, but in the name of debugging experience worth mentioning.
Instead of getting a code error, the error thrown is
Cannot read property 'reportError' of null
on this line - https://github.com/google/traceur-compiler/blob/master/src/semantics/Scope.js#L24I'm not sure what the underlying error was for this, but it is because a
null
argument is passed in https://github.com/google/traceur-compiler/blob/master/src/semantics/VariableBinder.js#L45 instead of a valid reporter.The text was updated successfully, but these errors were encountered: