diff options
author | Matthew Baulch <baulch.matt@gmail.com> | 2016-07-15 20:36:11 +1000 |
---|---|---|
committer | Matthew Baulch <baulch.matt@gmail.com> | 2016-07-15 20:36:11 +1000 |
commit | 915185dd11b6b4cdabf20cd3e9985b8044e2d3e2 (patch) | |
tree | bbd0da149ccbea86f0d168b65c59a1ba98c98569 /tests/tuples/tconver_tuple.nim | |
parent | 05486957d433c3082c549dc0e8c0dd8ae10805a7 (diff) | |
download | Nim-915185dd11b6b4cdabf20cd3e9985b8044e2d3e2.tar.gz |
Handle tuples with unnamed fields, symbols, and more. Less duplication.
Diffstat (limited to 'tests/tuples/tconver_tuple.nim')
-rw-r--r-- | tests/tuples/tconver_tuple.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tuples/tconver_tuple.nim b/tests/tuples/tconver_tuple.nim index b37be968a..306da77fe 100644 --- a/tests/tuples/tconver_tuple.nim +++ b/tests/tuples/tconver_tuple.nim @@ -17,3 +17,7 @@ var bar = ( strings: @[], ints: @[], ).MyTuple + +var fooUnnamed = MyTuple((7, @[], @[])) +var n = 7 +var fooSym = MyTuple((num: n, strings: @[], ints: @[])) |