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
{{ message }}
This repository has been archived by the owner on Aug 18, 2018. It is now read-only.
Confirmed. There's a token type we're not covering in the AST, typeof against an expression rather than, among other things, a variable. It's not the dot per se.
This does work (don't know if you can use it as a workaround):
Johnson::Parser.parse("x = {}; y = x.blah; typeof y;")
To reproduce:
Putting parenthesis around x.blah doesn't work either.
This works fine:
> Johnson::Parser.parse("x = {}; typeof x;")
"typeof x.blah" is legitimate and evaluates 'undefined'. Tested in firefox.
The text was updated successfully, but these errors were encountered: