fixes #5140
This commit is contained in:
parent
237e2664e0
commit
0ef6815529
2 changed files with 31 additions and 1 deletions
|
|
@ -207,7 +207,9 @@ proc isImportedType(t: PType): bool =
|
|||
result = t.sym != nil and sfImportc in t.sym.flags
|
||||
|
||||
proc isImportedCppType(t: PType): bool =
|
||||
result = t.sym != nil and sfInfixCall in t.sym.flags
|
||||
let x = t.skipTypes(irrelevantForBackend)
|
||||
result = (t.sym != nil and sfInfixCall in t.sym.flags) or
|
||||
(x.sym != nil and sfInfixCall in x.sym.flags)
|
||||
|
||||
proc getTypeDescAux(m: BModule, origTyp: PType, check: var IntSet): Rope
|
||||
proc needsComplexAssignment(typ: PType): bool =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue