This commit is contained in:
Andreas Rumpf 2016-05-11 20:50:03 +02:00
commit 11d0f3f7ec
2 changed files with 3 additions and 1 deletions

View file

@ -570,6 +570,7 @@ proc getTypeDescAux(m: BModule, typ: PType, check: var IntSet): Rope =
of tyRange, tyEnum:
let t = if t.kind == tyRange: t.lastSon else: t
result = getTypeName(t)
if isImportedCppType(t): return
idTablePut(m.typeCache, t, result)
var size: int
if firstOrd(t) < 0: