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 de4f260 commit 91ace21Copy full SHA for 91ace21
compiler/types.nim
@@ -73,7 +73,7 @@ const
73
tyInferred, tySink, tyLent, tyOwned}
74
# typedescX is used if we're sure tyTypeDesc should be included (or skipped)
75
typedescPtrs* = abstractPtrs + {tyTypeDesc}
76
- typedescInst* = abstractInst + {tyTypeDesc, tyOwned}
+ typedescInst* = abstractInst + {tyTypeDesc, tyOwned, tyUserTypeClass}
77
78
proc invalidGenericInst*(f: PType): bool =
79
result = f.kind == tyGenericInst and lastSon(f) == nil
0 commit comments