Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkelspiel authored and lpil committed Nov 29, 2024
1 parent 5039ae6 commit 95fdc7c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ error: Type mismatch
5|> fn (x, y) { x.0 }
^ What type is this?

To index into a tuple we need to know it size, but we don't know anything
To index into a tuple we need to know its size, but we don't know anything
about this type yet. Please add some type annotations so we can continue.
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ error: Type mismatch
1fn(a) { a.2 }
^ What type is this?

To index into a tuple we need to know it size, but we don't know anything
To index into a tuple we need to know its size, but we don't know anything
about this type yet. Please add some type annotations so we can continue.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ error: Type mismatch
3fn(x) { x.2 }(z)
^ What type is this?

To index into a tuple we need to know it size, but we don't know anything
To index into a tuple we need to know its size, but we don't know anything
about this type yet. Please add some type annotations so we can continue.

error: Unknown variable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ error: Type mismatch
4fn(x, y) { x.0 + y.1 }(a)
^ What type is this?

To index into a tuple we need to know it size, but we don't know anything
To index into a tuple we need to know its size, but we don't know anything
about this type yet. Please add some type annotations so we can continue.

0 comments on commit 95fdc7c

Please sign in to comment.