Closed
Description
The snippet below crashes with a SIGSEGV on arc:
nim c -d:useMalloc --os:any --gc:arc -r test.nim
type
Thing = object
s1: string
s2: string
var box: seq[Thing]
box.add Thing(s1: "")
Does not crash when changing the type to:
type
Thing = object
s1: string
s2: int
but does crash when making it
type
Thing = object
s1: string
s2: int
s3: int