Message5655

Author pjenvey
Recipients pekka.klarck, pjenvey, yanne
Date 2010-04-11.00:36:50
SpamBayes Score 5.6217145e-06
Marked as misclassified No
Message-id <1270946211.69.0.0633443158972.issue1564@psf.upfronthosting.co.za>
In-reply-to
Content
This is a tough one, the problem is that the toString attribute on the instance of the String type here is really an unbound method for the String.toString method.

That's why it expects an argument, it expects to be called as a bound method on a String instance. Just like calling str.upper() expects a str instance argument

What would have to happen is the method would somehow have to work both ways for methods implemented on the Class type. Maybe this is doable, I'm not sure, but reflected methods have a lot of tricky logic already
History
Date User Action Args
2010-04-11 00:36:51pjenveysetmessageid: <1270946211.69.0.0633443158972.issue1564@psf.upfronthosting.co.za>
2010-04-11 00:36:51pjenveysetrecipients: + pjenvey, pekka.klarck, yanne
2010-04-11 00:36:51pjenveylinkissue1564 messages
2010-04-11 00:36:50pjenveycreate