Add a test for tuple unification

This commit is contained in:
Sam Vervaeck 2022-09-16 12:48:41 +02:00
parent cd357e03f5
commit 368d2243f1

View file

@ -169,3 +169,11 @@ let a = Rect { width = 12, height = 12 }
a == z a == z
``` ```
## Tuple types are correctly inferred and unified
```
let foo_1 : (Int, Int, Int) = (1, 2, 3)
let foo_2 : (Int, Int, Int) = (1, 2, "foo")
```