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
|
|
@ -17,9 +17,6 @@ proc methodCall*(n: PNode): PNode
|
|||
proc generateMethodDispatchers*(): PNode
|
||||
# implementation
|
||||
|
||||
const
|
||||
skipPtrs = {tyVar, tyPtr, tyRef, tyGenericInst}
|
||||
|
||||
proc genConv(n: PNode, d: PType, downcast: bool): PNode =
|
||||
var
|
||||
dest, source: PType
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue