Files
Nim/tests/generics/tbadgenericlambda.nim
Zahary Karadjov cf8fe16a48 fix #715 again
the regression was caused by the introduction of "generic" lambdas
2014-03-16 20:42:06 +02:00

8 lines
121 B
Nim

discard """
msg: "nested proc can have generic parameters only when"
line: 6
"""
let x = proc (x, y): auto = x + y