tdef1.nim 383 B

1234567891011121314151617
  1. discard """
  2. $nimsuggest --tester $file
  3. >def $1
  4. def;;skProc;;tdef1.hello;;proc (): string{.noSideEffect, gcsafe, locks: 0.};;$file;;9;;5;;"Return hello";;100
  5. >def $1
  6. def;;skProc;;tdef1.hello;;proc (): string{.noSideEffect, gcsafe, locks: 0.};;$file;;9;;5;;"Return hello";;100
  7. """
  8. proc hello(): string =
  9. ## Return hello
  10. "Hello"
  11. hel#[!]#lo()
  12. # v uncompleted id for sug (13,2)
  13. he