summary refs log blame commit diff stats
path: root/tests/generics/tbadgenericlambda.nim
blob: 2ab8e724db39705a64992d7b6904f38217d4f773 (plain) (tree)
1
2
3
4
5
6
7
           
                                                               




                                 
discard """
  errormsg: "nested proc can have generic parameters only when"
  line: 6
"""

let x = proc (x, y): auto = x + y