summary refs log tree commit diff stats
path: root/tests/tuples/tconver_tuple.nim
diff options
context:
space:
mode:
authorMatthew Baulch <baulch.matt@gmail.com>2016-07-15 20:36:11 +1000
committerMatthew Baulch <baulch.matt@gmail.com>2016-07-15 20:36:11 +1000
commit915185dd11b6b4cdabf20cd3e9985b8044e2d3e2 (patch)
treebbd0da149ccbea86f0d168b65c59a1ba98c98569 /tests/tuples/tconver_tuple.nim
parent05486957d433c3082c549dc0e8c0dd8ae10805a7 (diff)
downloadNim-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.nim4
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: @[]))