FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

October 5th for real -- Improved method handling

 
Post new topic   Reply to topic     Forum Index -> MiniD
View previous topic :: View next topic  
Author Message
JarrettBillingsley



Joined: 20 Jun 2006
Posts: 457
Location: Pennsylvania!

PostPosted: Fri Oct 06, 2006 12:28 am    Post subject: October 5th for real -- Improved method handling Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> MiniD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group