Skip to content

Commit 91ace21

Browse files
authored
fixes #16897 [backport:1.2] (#16900)
1 parent de4f260 commit 91ace21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/types.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const
7373
tyInferred, tySink, tyLent, tyOwned}
7474
# typedescX is used if we're sure tyTypeDesc should be included (or skipped)
7575
typedescPtrs* = abstractPtrs + {tyTypeDesc}
76-
typedescInst* = abstractInst + {tyTypeDesc, tyOwned}
76+
typedescInst* = abstractInst + {tyTypeDesc, tyOwned, tyUserTypeClass}
7777

7878
proc invalidGenericInst*(f: PType): bool =
7979
result = f.kind == tyGenericInst and lastSon(f) == nil

0 commit comments

Comments
 (0)