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
When using something that is not a string a the #class attribute of an object, I get a parse error.
I would understand if it was a runtime error, but why does the parser error? According to ljs/ljs_parser.mly, #class expects an expression (exactly as for #proto, but in the case of #proto, an expression works)
When using something that is not a string a the
#class
attribute of an object, I get a parse error.I would understand if it was a runtime error, but why does the parser error? According to
ljs/ljs_parser.mly
,#class
expects an expression (exactly as for#proto
, but in the case of#proto
, an expression works)The text was updated successfully, but these errors were encountered: