[cfe-dev] Obj-C Super badly broken…
devlists at shadowlab.org
Mon Apr 12 04:21:24 CDT 2010
Le 12 avr. 2010 à 10:59, Jean-Daniel Dupas a écrit :
> Look like recent change in super handling in Obj-C broke it in a nasty way.
> In short, when using [super classMethod] in a class derived class, 'self' does not point on the derived class in the super's method invocation, but it contains the super class instead.
> See Bug 6819 for details.
A short investigation shows that clang generate an objc_msgSend call instead of a objc_msgSendSuper call.
More information about the cfe-dev