Handle tuples with unnamed fields, symbols, and more. Less duplication.

This commit is contained in:
Matthew Baulch 2016-07-15 20:36:11 +10:00
commit 915185dd11
2 changed files with 6 additions and 5 deletions

View file

@ -17,3 +17,7 @@ var bar = (
strings: @[],
ints: @[],
).MyTuple
var fooUnnamed = MyTuple((7, @[], @[]))
var n = 7
var fooSym = MyTuple((num: n, strings: @[], ints: @[]))