mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 14:23:45 +00:00
* Add tests Also test if exported all tuple fields works. This seems like a hacky solution so will try and dive further to find a better solution * Always suggest tuple fields if it passes the filter If the tuple we are accessing is in scope then all the fields will also be in scope * Update tests so line numbers are correct
9 lines
201 B
Nim
9 lines
201 B
Nim
discard """
|
|
$nimsuggest --tester $file
|
|
>sug $1
|
|
sug;;skField;;a;;int;;*module_20265.nim;;2;;2;;"";;100;;None
|
|
sug;;skField;;b;;int;;*module_20265.nim;;3;;2;;"";;100;;None
|
|
"""
|
|
import module_20265
|
|
x.#[!]#
|