We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7af4e3e commit 03562f4Copy full SHA for 03562f4
compiler/ccgtypes.nim
@@ -247,6 +247,7 @@ proc isOrHasImportedCppType(typ: PType): bool =
247
searchTypeFor(typ.skipTypes({tyRef}), isImportedCppType)
248
249
proc hasNoInit(t: PType): bool =
250
+ let t = skipTypes(t, {tyGenericInst})
251
result = t.sym != nil and sfNoInit in t.sym.flags
252
253
proc getTypeDescAux(m: BModule; origTyp: PType, check: var IntSet; kind: TypeDescKind): Rope
0 commit comments