bugfix: compiler rejects methods without object parameter

This commit is contained in:
Araq 2011-01-06 09:06:43 +01:00
commit 27bc9296d1
7 changed files with 28 additions and 3 deletions

View file

@ -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