fixes #6279
This commit is contained in:
parent
57f0936f2a
commit
920f4acadf
4 changed files with 57 additions and 6 deletions
9
tests/ccgbugs/t6279.nim
Normal file
9
tests/ccgbugs/t6279.nim
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
discard """
|
||||
cmd: "nim c -r -d:fulldebug -d:smokeCycles --gc:refc $file"
|
||||
output: '''@[a]'''
|
||||
"""
|
||||
|
||||
# bug #6279
|
||||
var foo = newSeq[tuple[a: seq[string], b: seq[string]]]()
|
||||
foo.add((@["a"], @["b"]))
|
||||
echo foo[0].a # Crashes on this line
|
||||
Loading…
Add table
Add a link
Reference in a new issue