fixes #13072; no test case because it will be added later with more exception handling related bugfixes
This commit is contained in:
parent
a33b72af49
commit
033da35de1
1 changed files with 1 additions and 1 deletions
|
|
@ -1256,7 +1256,7 @@ proc genTypeInfo2Name(m: BModule; t: PType): Rope =
|
||||||
while it != nil:
|
while it != nil:
|
||||||
it = it.skipTypes(skipPtrs)
|
it = it.skipTypes(skipPtrs)
|
||||||
if it.sym != nil:
|
if it.sym != nil:
|
||||||
var m = t.sym.owner
|
var m = it.sym.owner
|
||||||
while m != nil and m.kind != skModule: m = m.owner
|
while m != nil and m.kind != skModule: m = m.owner
|
||||||
if m == nil or sfSystemModule in m.flags:
|
if m == nil or sfSystemModule in m.flags:
|
||||||
# produce short names for system types:
|
# produce short names for system types:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue