fixes #178
This commit is contained in:
parent
538b06a123
commit
b9afdffb3e
5 changed files with 20 additions and 13 deletions
|
|
@ -59,7 +59,8 @@ const
|
|||
abstractInst* = {tyGenericInst, tyDistinct, tyConst, tyMutable, tyOrdinal}
|
||||
|
||||
skipPtrs* = {tyVar, tyPtr, tyRef, tyGenericInst, tyConst, tyMutable}
|
||||
typeclassPtrs* = abstractPtrs + {tyTypeClass}
|
||||
typedescPtrs* = abstractPtrs + {tyTypeDesc}
|
||||
typedescInst* = abstractInst + {tyTypeDesc}
|
||||
|
||||
proc skipTypes*(t: PType, kinds: TTypeKinds): PType
|
||||
proc containsObject*(t: PType): bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue