tcannot_capture_builtin.nim 149 B

123456789
  1. discard """
  2. errormsg: "'+' is a built-in and cannot be used as a first-class procedure"
  3. line: 8
  4. """
  5. # bug #2050
  6. let v: proc (a, b: int): int = `+`