t21185.nim 358 B

12345678910111213141516171819
  1. # Reduced case of 21185. Issue was first parameter being static
  2. proc foo(x: static[int]) = discard
  3. type
  4. Person = object
  5. name: string
  6. age: int
  7. let p = Person()
  8. p.#[!]#
  9. discard """
  10. $nimsuggest --tester --v3 --maxresults:2 $file
  11. >sug $1
  12. sug;;skField;;age;;int;;$file;;8;;4;;"";;100;;None
  13. sug;;skField;;name;;string;;$file;;7;;4;;"";;100;;None
  14. """