Author: theraven
Date: Sun Dec 7 14:21:45 2008
New Revision: 4081
URL: http://svn.gna.org/viewcvs/etoile?rev=4081&view=rev
Log:
One for Günther - made methods with no explicit return, and a return type of
id, return self. There are now three cases for automatic return values:
Methods that return a non-object type will return whatever that type is
initialised to 0.
Methods that return void will (obviously) return nothing.
Methods that return objects will return self.
Modified:
trunk/Etoile/Languages/Compiler/HACKING
trunk/Etoile/Languages/Compiler/test.st
trunk/Etoile/Languages/LanguageKit/CodeGenLexicalScope.cpp
_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs