Re: When did forward method references become legal?
Re: When did forward method references become legal?
- Subject: Re: When did forward method references become legal?
- From: Sean McBride <email@hidden>
- Date: Tue, 06 Mar 2012 15:26:10 -0500
- Organization: Rogue Research Inc.
On Tue, 6 Mar 2012 10:14:31 -0800, Jens Alfke said:
>I just discovered by accident that you no longer need to forward-declare
>an Obj-C method that's called above the source line where it’s implemented:
>
> @implementation Foo
> - (void) first { [self second]; } // <—no longer a compile error
> - (void) second { }
>
>I’m using Xcode 4.3; anyone know what version this was added in? I
>didn’t see anything relevant in the very cursory Xcode release notes or
>what’s-new document, and I couldn’t find any Clang release notes.
Isn't it annoying that the very language changes in this way, without (hardly) any notice?!?!
There is something to be said to having a proper ISO standard for the language definition. As it is, a compiler (clang) gets better and the de facto language changes.
Anyway, to answer your question: since this:
http://llvm.org/viewvc/llvm-project?view=rev&revision=138865
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden