diff options
Diffstat (limited to 'tests/errmsgs/t8434.nim')
-rw-r--r-- | tests/errmsgs/t8434.nim | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/errmsgs/t8434.nim b/tests/errmsgs/t8434.nim index ada38e9c0..5d962ee5c 100644 --- a/tests/errmsgs/t8434.nim +++ b/tests/errmsgs/t8434.nim @@ -1,10 +1,9 @@ discard """ errormsg: "type mismatch: got <byte, int literal(0)>" nimout: '''but expected one of: -proc fun0[T1: int | float | - object | array | seq](a1: T1; a2: int) +proc fun0[T1: int | float | object | array | seq](a1: T1; a2: int) first type mismatch at position: 1 - required type for a1: T1: int or float or object or array or seq[T] + required type for a1: T1: int or float or object or array or seq but expression 'byte(1)' is of type: byte expression: fun0(byte(1), 0) |