Re: start in NSOperation
Re: start in NSOperation
- Subject: Re: start in NSOperation
- From: Greg Parker <email@hidden>
- Date: Mon, 06 Jan 2014 15:04:06 -0800
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.
--
Greg Parker email@hidden Runtime Wrangler
_______________________________________________
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