fix class functions

some extra tests in the process
This commit is contained in:
Torsten Ruger
2015-09-20 15:51:08 +03:00
parent c331bdd80a
commit 20b6c9b476
4 changed files with 174 additions and 10 deletions

View File

@ -1,4 +1,4 @@
int length( ref x )
int self.length( ref x )
length
end
-- -- --
@ -8,4 +8,5 @@ s(:expressions,
s(:parameters,
s(:parameter, :ref, :x)),
s(:expressions,
s(:name, :length))))
s(:name, :length)),
s(:receiver, :self)))