virtualx-engine/modules/gdscript/tests/scripts/parser/features/match_array.out
Aiden Storey 74177d79c9
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
2024-04-12 10:59:28 +02:00

6 lines
134 B
Text

GDTEST_OK
["value1"]
["value1", "value2"]
multiline ["value1"]
multiline ["value1", "value2",]
multiline ["value1", ["value2", ..,],]