This commit is contained in:
Araq 2014-12-28 01:59:30 +01:00
commit f73938218e
7 changed files with 67 additions and 14 deletions

View file

@ -2,10 +2,11 @@
proc p(a, b: int, c: proc ()) =
c()
p(1, 3):
echo 1
echo 3
when false:
# language spec changed:
p(1, 3):
echo 1
echo 3
p(1, 1, proc() =
echo 1

View file

@ -1,6 +1,7 @@
discard """
line: 12
errormsg: "instantiate 'notConcrete' explicitly"
disabled: "true"
"""
proc wrap[T]() =