summary refs log tree commit diff stats
path: root/tools/nimsuggest/tests/tdot1.nim
blob: bcd44cd8499e6ea588259eb5c34a53b132b856f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
discard """
$nimsuggest --tester $file
>sug $1
sug;;skField;;x;;int;;$file;;11;;4;;"";;100
sug;;skField;;y;;int;;$file;;11;;7;;"";;100
sug;;skProc;;tdot1.main;;proc (f: Foo);;$file;;13;;5;;"";;100
"""

type
  Foo = object
    x, y: int

proc main(f: Foo) =
  f.#[!]#