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
The issue comes from a fallthrough in the dictionary parsing, which short-circuits from key to value, and fails to consume the newline at gdscript_parser.cpp:1096.
(newline is consumed at gdscript_parser.cpp:1028 after a colon, note that DICT_EXPECT_KEY/VALUE are within an else).
The best solution, apart from rewriting the dictionary parsing state machine, would be to increment/decrement parenthesis while inside the dictionary.
Godot version:
master @ d11d7df
OS/device including version:
Linux
Issue description:
Godot raises parse error on the code below:
The text was updated successfully, but these errors were encountered: