Skip to content

Commit

Permalink
adapt error messages
Browse files Browse the repository at this point in the history
innermost sign operators are now part of the literal, see #505
  • Loading branch information
ggreif committed Sep 12, 2019
1 parent 9af49c3 commit 72d019f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions test/fail/ok/bad-unops.tc.ok
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ bad-unops.as:1.9-1.11: type error, operator is not defined for operand type
Int
bad-unops.as:2.9-2.12: type error, operator is not defined for operand type
Int
bad-unops.as:3.15-3.17: type error, expression of type
bad-unops.as:3.15-3.17: type error, literal of type
Int
cannot produce expected type
does not have expected type
Nat
bad-unops.as:4.15-4.17: type error, expression of type
bad-unops.as:4.15-4.17: type error, literal of type
Int
cannot produce expected type
does not have expected type
Nat
bad-unops.as:7.28-7.30: type error, literal of type
Int
does not have expected type
Nat

0 comments on commit 72d019f

Please sign in to comment.