explicit_discard.nim 141 B

12345678
  1. discard """
  2. errormsg: "has to be used (or discarded)"
  3. line: 7
  4. """
  5. proc myProc(name: string): string = "Hello " & name
  6. myProc("Dominik")