• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: clang 1.5 and property syntax?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: clang 1.5 and property syntax?
      • From: Chris Hanson <email@hidden>
References: 
 >clang 1.5 and property syntax? (From: Rick Mann <email@hidden>)
 >Re: clang 1.5 and property syntax? (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Comment a block
  • Next by Date: Re: Comment a block
  • Previous by thread: Re: clang 1.5 and property syntax?
  • Next by thread: Re: clang 1.5 and property syntax?
  • Index(es):
    • Date
    • Thread