summary refs log tree commit diff stats
path: root/tests/generics/tbadgenericlambda.nim
blob: 38e7f6cd7340189c1d9a42b6545c0827417d8415 (plain) (blame)
1
2
3
4
5
6
7
discard """
  errmsg: "nested proc can have generic parameters only when"
  line: 6
"""

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