mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Tuple restrictions (#486)
* implement tuple restrictions: (1) named fields after positional, (2) order matters * after_named_member => seen_named_member
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
8: type error in pattern variable
|
||||
expected: (x = Int@2, y = Int@3)
|
||||
actual: (y = Int@0, x = Int@1)
|
||||
EXIT CODE: 255
|
||||
Reference in New Issue
Block a user