JarrettBillingsley
Joined: 20 Jun 2006 Posts: 457 Location: Pennsylvania!
|
Posted: Fri Oct 06, 2006 12:28 am Post subject: October 5th for real -- Improved method handling |
|
|
Now, when you use the "obj:method()" syntax, methods are looked up in a better way. For class instances, the method is looked up in the class; for all other types, it is looked up in the global type metatable. (ooh, now that I think about it, it should look up in the metatable for userdata..). This is because the way I reimplemented Indexing made it so you couldn't access "methods" of most non-class-instance types.
Also fixed ANOTHER bug in the compiler relating to index expressions. I really hate index expressions. I do. |
|