fix tests

This commit is contained in:
Timothee Cour 2019-07-06 20:09:26 -07:00
commit b80d70b0f3
11 changed files with 153 additions and 73 deletions

View file

@ -4,7 +4,7 @@ discard """
proc fun0[T1: int | float |
object | array | seq](a1: T1; a2: int)
first type mismatch at position: 1
required type: 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[T]
but expression 'byte(1)' is of type: byte
expression: fun0(byte(1), 0)