fixes #4146
This commit is contained in:
parent
5bdde429e7
commit
909a161ad2
1 changed files with 24 additions and 24 deletions
|
|
@ -570,8 +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) or
|
if not (isImportedCppType(t) or
|
||||||
(sfImportc in t.sym.flags and t.sym.magic == mNone): return
|
(sfImportc in t.sym.flags and t.sym.magic == mNone)):
|
||||||
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