Fix issues with multiple bind patterns in match statement
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
func test():
|
||||
match 1:
|
||||
[[[var a]]], 2:
|
||||
pass
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
GDTEST_PARSER_ERROR
|
||||
Cannot use a variable bind with multiple patterns.
|
||||
Reference in New Issue
Block a user