fix #715 again
the regression was caused by the introduction of "generic" lambdas
This commit is contained in:
parent
7080d02af4
commit
cf8fe16a48
6 changed files with 29 additions and 4 deletions
7
tests/generics/tbadgenericlambda.nim
Normal file
7
tests/generics/tbadgenericlambda.nim
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
discard """
|
||||
msg: "nested proc can have generic parameters only when"
|
||||
line: 6
|
||||
"""
|
||||
|
||||
let x = proc (x, y): auto = x + y
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue