tcannot_capture_builtin.nim 119 B

123456789
  1. discard """
  2. errormsg: "'+' cannot be passed to a procvar"
  3. line: 8
  4. """
  5. # bug #2050
  6. let v: proc (a, b: int): int = `+`