This commit is contained in:
Arne Döring 2019-08-14 17:41:44 +02:00 • committed by Andreas Rumpf
commit 65ed2d7fe8
2 changed files with 6 additions and 6 deletions

View file

@ -2,13 +2,14 @@ discard """
cmd: "nim check $file"
errormsg: "'t' has unspecified generic parameters"
nimout: '''
t5167_5.nim(20, 9) Error: 't' has unspecified generic parameters
t5167_5.nim(10, 16) Error: expression 'system' has no type (or is ambiguous)
t5167_5.nim(21, 9) Error: 't' has unspecified generic parameters
'''
"""
# issue #11942
discard newSeq[system]()
# issue #5167
template t[B]() =
echo "foo1"
@ -22,4 +23,3 @@ bar t
let y = m
bar m