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

4
tests/reject/tmethod.nim Normal file
View file

@ -0,0 +1,4 @@
method m(i: int): int =
return 5