mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 18:02:05 +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
7 lines
84 B
Nim
7 lines
84 B
Nim
type A* = tuple
|
|
a: int
|
|
b: int
|
|
|
|
var x*: A = (a: 2, b: 10)
|
|
var y* = (a: 2, b: 10)
|