Fix issues with multiple bind patterns in match statement

This commit is contained in:
cdemirer
2022-04-04 15:47:08 +08:00
parent c630c2001d
commit 3c5b9d1be3
5 changed files with 18 additions and 1 deletions
@@ -0,0 +1,4 @@
func test():
match 1:
[[[var a]]], 2:
pass
@@ -0,0 +1,2 @@
GDTEST_PARSER_ERROR
Cannot use a variable bind with multiple patterns.