bugfix: compiler rejects methods without object parameter
This commit is contained in:
parent
da325bc7a4
commit
27bc9296d1
7 changed files with 28 additions and 3 deletions
|
|
@ -56,6 +56,8 @@ const
|
|||
abstractVarRange* = {tyGenericInst, tyRange, tyVar, tyDistinct, tyOrdinal}
|
||||
abstractInst* = {tyGenericInst, tyDistinct, tyOrdinal}
|
||||
|
||||
skipPtrs* = {tyVar, tyPtr, tyRef, tyGenericInst}
|
||||
|
||||
proc skipTypes*(t: PType, kinds: TTypeKinds): PType
|
||||
proc elemType*(t: PType): PType
|
||||
proc containsObject*(t: PType): bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue