diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-02-11 12:33:06 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-11 21:33:06 +0100 |
commit | eec07b4e84d3418d171cf08aa8a02f380a39b78e (patch) | |
tree | 6c240454769f5d82e9febb3e79e13586d56a3319 /tests/errmsgs | |
parent | f6d45b40a51d8b336acaae4cddcbca825e11c0ba (diff) | |
download | Nim-eec07b4e84d3418d171cf08aa8a02f380a39b78e.tar.gz |
fix several bugs with `repr` (#13386)
Diffstat (limited to 'tests/errmsgs')
-rw-r--r-- | tests/errmsgs/t8434.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/errmsgs/t8434.nim b/tests/errmsgs/t8434.nim index ada38e9c0..c8bc1193b 100644 --- a/tests/errmsgs/t8434.nim +++ b/tests/errmsgs/t8434.nim @@ -1,8 +1,7 @@ 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] but expression 'byte(1)' is of type: byte |