-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Syntax error in variables while editing script #5
Comments
Thanks for reporting! |
Could you share the syntax error message you're getting? |
Sure, one sec! |
The script variable probably got updated while you were typing, at which point the line was not complete yet and would result in a syntax error. Not sure yet what a good solution to this could be... |
oh yeah, it's actually not only reassigning, I just didn't really test anything, since just changing the value manually didn't trigger the error maybe the variable should be updated when the player stops writing? |
Note to self: consider invalidating errored variables, but only those that errored due to the currently edited script. |
Issue type:
Short description:
When adding a reassignment (smth like
let str = "test"; str = "test 2"
), the variable card gives me a syntax error (for example in display panels). Reinserting the variable card solves the issue (it's still annoying regardless).Steps to reproduce the problem:
let str = "Hi InDy"
str += " and InScripting!"
Expected behaviour:
New value displays correctly.
Versions:
Log file:
The text was updated successfully, but these errors were encountered: