discard """ joinable: false """ # This bug could only be reproduced with --newruntime type Obj = object a: int proc `=`(a: var Obj, b: Obj) = discard let a: seq[Obj] = @[] # bug #7346 let b = newSeq[Obj]() # bug #7345