Tuple error message (#11141); fixes #3211

This commit is contained in:
Arne Döring 2019-05-15 17:59:06 +02:00 • committed by Andreas Rumpf
commit 2339542832
4 changed files with 36 additions and 22 deletions

View file

@ -1,9 +1,6 @@
discard """
errormsg: '''got <tuple of (type NimEdAppWindow, int)>'''
line: 22
nimout: '''got <tuple of (type NimEdAppWindow, int)>
but expected one of:
template xxx(tn: typedesc; i: int)'''
errormsg: '''Mixing types and values in tuples is not allowed.'''
line: 19
"""
type