Support complex type patterns in bindings. (#759)

Co-authored-by: Jon Meow <46229924+jonmeow@users.noreply.github.com>
This commit is contained in:
Geoff Romer
2021-08-18 13:40:17 -07:00
committed by GitHub
co-authored by Jon Meow
parent 2295658697
commit 7138ee400f
7 changed files with 87 additions and 73 deletions
+1 -3
View File
@@ -1,4 +1,2 @@
COMPILATION ERROR: 8: type error in pattern variable
expected: (x = i32, y = i32)
actual: (y = i32, x = i32)
PROGRAM ERROR: 8: Tuple field name 'y' does not match pattern field name 'x'
EXIT CODE: 255