diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-09-13 16:33:34 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-09-13 16:33:43 +0200 |
commit | b78029b5afb3bfa69cf41203ca358285c9a71cde (patch) | |
tree | 3f7745935bf6cc320798812d13adf2f10fa654f8 /tests/ccgbugs | |
parent | 3710e62241fe32fee7e54d804d59bfacf56fcf35 (diff) | |
download | Nim-b78029b5afb3bfa69cf41203ca358285c9a71cde.tar.gz |
fixes #4626
Diffstat (limited to 'tests/ccgbugs')
-rw-r--r-- | tests/ccgbugs/tuple_canon.nim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ccgbugs/tuple_canon.nim b/tests/ccgbugs/tuple_canon.nim index 960e2aae9..a607f9cab 100644 --- a/tests/ccgbugs/tuple_canon.nim +++ b/tests/ccgbugs/tuple_canon.nim @@ -1,3 +1,10 @@ + + +# bug #4626 +var foo: (int, array[1, int]) # Tuple must be of length > 1 +let bar = (1, [1]) +foo = bar # No error if assigned directly + # bug #2250 import |