This commit is contained in:
Araq 2012-06-21 18:51:19 +02:00
commit d1c84328a7
3 changed files with 15 additions and 3 deletions

View file

@ -583,6 +583,8 @@ proc getTypeDescAux(m: BModule, typ: PType, check: var TIntSet): PRope =
else:
InternalError("getTypeDescAux(" & $t.kind & ')')
result = nil
# fixes bug #145:
excl(check, t.id)
proc getTypeDesc(m: BModule, typ: PType): PRope =
var check = initIntSet()