tdef1.nim 548 B

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