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
As far as I know, TKO uses a custom lightweight parser instead of eval nowadays. Correct me if I'm wrong.
I stumbled upon this issue while using knockout-decorators. The decorators convert the class property into a setter/getter observable, but this issue can also be experienced if you try to assign a value to a non-observable variable.
TKO doesn't support normal assignments (var = val), just observable assignment which is just a call expression. It seems to me like assignment expressions should be supported.
The text was updated successfully, but these errors were encountered:
tscpp
changed the title
Support for decorators
Parser: Assignment support
Apr 15, 2021
tscpp
changed the title
Parser: Assignment support
Assignment expression in parser
Apr 15, 2021
As far as I know, TKO uses a custom lightweight parser instead of eval nowadays. Correct me if I'm wrong.
I stumbled upon this issue while using knockout-decorators. The decorators convert the class property into a setter/getter observable, but this issue can also be experienced if you try to assign a value to a non-observable variable.
TKO doesn't support normal assignments (
var = val
), just observable assignment which is just a call expression. It seems to me like assignment expressions should be supported.The text was updated successfully, but these errors were encountered: