Fix issues with multiple bind patterns in match statement
This commit is contained in:
parent
c630c2001d
commit
3c5b9d1be3
5 changed files with 18 additions and 1 deletions
|
|
@ -0,0 +1,6 @@
|
|||
func test():
|
||||
match [1, 2, 3]:
|
||||
[var a, var b, var c]:
|
||||
print(a == 1)
|
||||
print(b == 2)
|
||||
print(c == 3)
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
GDTEST_OK
|
||||
true
|
||||
true
|
||||
true
|
||||
Loading…
Add table
Add a link
Reference in a new issue