-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assignment expression in parser #120
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: