make t7346 work again

This commit is contained in:
Andreas Rumpf
2018-09-24 12:25:40 +02:00
parent 9364369c1f
commit 9a9005622b
2 changed files with 1 additions and 1 deletions

View File

@@ -1206,7 +1206,7 @@ proc genTypeInfo(m: BModule, t: PType; info: TLineInfo): Rope =
let x = fakeClosureType(m, t.owner)
genTupleInfo(m, x, x, result, info)
of tySequence:
if tfHasAsgn notin t.flags:
if m.config.selectedGC != gcDestructors:
genTypeInfoAux(m, t, t, result, info)
if m.config.selectedGC >= gcMarkAndSweep:
let markerProc = genTraverseProc(m, origType, sig)