mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-02 06:55:55 +01:00
Unify tuple types with tuples-of-types in the interpreter (#442)
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
10: type error in call
|
||||
expected: Tuple(0 = Int, 1 = Int)
|
||||
actual: Tuple(0 = Tuple(0 = Int, 1 = Int))
|
||||
expected: (0 = Int@0, 1 = Int@1)
|
||||
actual: (0 = (0 = Int@6, 1 = Int@7)@8)
|
||||
EXIT CODE: 255
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
10: type error in return
|
||||
expected: Tuple()
|
||||
expected: ()
|
||||
actual: Int
|
||||
EXIT CODE: 255
|
||||
|
||||
Reference in New Issue
Block a user