make typeToString sane for sequence again

This commit is contained in:
Andreas Rumpf 2019-02-25 19:00:52 +01:00
commit 84f0a33bf0
2 changed files with 2 additions and 2 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
required type: T1: int or float or object or array or seq[T]
but expression 'byte(1)' is of type: byte
expression: fun0(byte(1), 0)