Closed QinomeD closed 5 months ago
Thanks for reporting!
Could you share the syntax error message you're getting?
Sure, one sec!
This is for the number type, for some reason syntax error says there's no ar
symbol, but I use arr
, so idk
This happens for reassigning array values
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. So I don't think the re-assignment itself is the problem.
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: