tnilclosurecall.nim 106 B

123456789
  1. discard """
  2. errormsg: "attempt to call nil closure"
  3. line: 8
  4. """
  5. static:
  6. let x: proc () = nil
  7. x()