Re: start in NSOperation
Re: start in NSOperation
- Subject: Re: start in NSOperation
- From: Kyle Sluder <email@hidden>
- Date: Mon, 06 Jan 2014 16:28:30 -0800
On Mon, Jan 6, 2014, at 03:04 PM, Greg Parker wrote:
> On Jan 6, 2014, at 8:52 AM, Kyle Sluder <email@hidden> wrote:
> > On Mon, Jan 6, 2014, at 02:39 AM, Roland King wrote:
> >> since the return type isn't part of the
> >> signature of a method, overriding it with start which takes no parameters
> >> and returns an integer is allowed
> >
> > I found this unbelievable, but then I wrote a test and confirmed it is
> > true.
> >
> > That's insane. What if the overridde's return type causes it to use a
> > different calling convention? I'm gonna file a compiler bug.
>
> Please do. I thought the compiler complained about ABI-incompatible
> mismatches even without -Woverriding-method-mismatch, but I may be
> thinking of call-site ambiguities instead of overrides.
Done. <rdar://problem/15758355> (Compiler should produce error when
overriding method with ABI-incompatible return type).
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden