diff options
author | Araq <rumpf_a@web.de> | 2014-12-23 17:54:22 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-12-23 17:54:22 +0100 |
commit | c0cc62c6b17710e6d961198da79a0587e538735f (patch) | |
tree | 6609c01bc33c9bbc0d77e7e6af39ffd2161c1332 /tests/tuples | |
parent | 75b7917b3aba351c5b93c4a552f2081fb90a7668 (diff) | |
download | Nim-c0cc62c6b17710e6d961198da79a0587e538735f.tar.gz |
tuple field names are ignored
Diffstat (limited to 'tests/tuples')
-rw-r--r-- | tests/tuples/tanontuples.nim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/tuples/tanontuples.nim b/tests/tuples/tanontuples.nim index a2babf038..80bd32b7b 100644 --- a/tests/tuples/tanontuples.nim +++ b/tests/tuples/tanontuples.nim @@ -1,5 +1,6 @@ discard """ - output: "61, 125" + output: '''61, 125 +89''' """ proc `^` (a, b: int): int = @@ -13,3 +14,6 @@ m = (n[0] + m[1], m[1] ^ n[1]) echo m[0], ", ", m[1] +var x = (bar: 38) +x = (foo: 89) +echo x[0] |