fixes #2473; cleanup of some tests

This commit is contained in:
Araq 2015-09-30 21:04:21 +02:00
commit 5a003532d0
6 changed files with 28 additions and 54 deletions

View file

@ -0,0 +1,16 @@
discard """
msg: "abc xyz bb"
"""
# bug #2473
type
Test = tuple[a,b: string]
static:
var s:seq[Test] = @[(a:"a", b:"b")]
s[0] = (a:"aa", b:"bb")
var x: Test
x.a = "abc"
x.b = "xyz"
echo x.a, " ", x.b, " ", s[0].b