You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix multiline array/dictionary match statements
Currently array and dictionary expressions cannot be spread over multiple lines in match statements. Adding mutliline push/pop while parsing the pattern for bracket and brace enables the ability for these to be multiline. This enables more complex patterns to be matched without exceeding line limits. Fixes #90372
This commit is contained in:
committed by
Rémi Verschelde
parent
b2f425fe68
commit
74177d79c9
@@ -0,0 +1,6 @@
|
||||
GDTEST_OK
|
||||
["value1"]
|
||||
["value1", "value2"]
|
||||
multiline ["value1"]
|
||||
multiline ["value1", "value2",]
|
||||
multiline ["value1", ["value2", ..,],]
|
||||
Reference in New Issue
Block a user