fixes #4145
This commit is contained in:
parent
1ae95310ad
commit
4f9083268f
1 changed files with 2 additions and 1 deletions
|
|
@ -570,7 +570,8 @@ proc getTypeDescAux(m: BModule, typ: PType, check: var IntSet): Rope =
|
||||||
of tyRange, tyEnum:
|
of tyRange, tyEnum:
|
||||||
let t = if t.kind == tyRange: t.lastSon else: t
|
let t = if t.kind == tyRange: t.lastSon else: t
|
||||||
result = getTypeName(t)
|
result = getTypeName(t)
|
||||||
if isImportedCppType(t): return
|
if isImportedCppType(t) or
|
||||||
|
(sfImportc in t.sym.flags and t.sym.magic == mNone): return
|
||||||
idTablePut(m.typeCache, t, result)
|
idTablePut(m.typeCache, t, result)
|
||||||
var size: int
|
var size: int
|
||||||
if firstOrd(t) < 0:
|
if firstOrd(t) < 0:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue