Re: clang 1.5 and property syntax?
Re: clang 1.5 and property syntax?
- Subject: Re: clang 1.5 and property syntax?
- From: Rick Mann <email@hidden>
- Date: Thu, 2 Sep 2010 14:56:27 -0700
On Sep 2, 2010, at 10:12:29, Bill Bumgarner wrote:
>
> On Sep 1, 2010, at 5:23 PM, Rick Mann wrote:
>
>> For example, the following two lines are semantically equivalent, and work with gcc (and clang 2.0, I think):
>>
>> [mNoSelectionView setHidden: true];
>> mNoSelectionView.hidden = true;
>>
>> But clang 1.5 reports: error: property 'hidden' not found on object of type 'NSView *'
>>
>> Is this a bug in clang?
>
> It would appear to be, yes.
Thanks for confirming. Bug reported: #8388825
Note that the autoresizingMask property* of NSView does not exhibit this behavior. Also note that the code completion doesn't work for the dot-syntax version of either property, but does work for the message-passing syntax.
--
Rick
*I realize these aren't properties in the syntactic sense of the language, but conceptually they are. _______________________________________________
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