tdot1.nim 304 B

123456789101112131415
  1. discard """
  2. $nimsuggest --tester --maxresults:3 $file
  3. >sug $1
  4. sug;;skField;;x;;int;;$file;;11;;4;;"";;100;;None
  5. sug;;skField;;y;;int;;$file;;11;;7;;"";;100;;None
  6. sug;;skProc;;tdot1.main;;proc (f: Foo);;$file;;13;;5;;"";;100;;None
  7. """
  8. type
  9. Foo = object
  10. x, y: int
  11. proc main(f: Foo) =
  12. if f.#[!]#: