[cfe-commits] r79050 - in /cfe/trunk: lib/Sema/SemaStmt.cpp test/SemaObjC/blocks.m

Fariborz Jahanian fjahanian at apple.com
Mon Aug 17 08:18:27 PDT 2009


On Aug 16, 2009, at 8:57 PM, Chris Lattner wrote:

>
> On Aug 16, 2009, at 9:52 AM, Fariborz Jahanian wrote:
>
>>>
>>>
>>> Also, I think we should fix the warning for a real type mismatch  
>>> to be
>>> more meaningful. Selector element mismatch doesn't make any sense...
>>
>> I think the term came from the instigator of the foreach statement,
>> which probably came from
>> Ruby. Yes, it is confusing with objc's selector name. Do you have a
>> suggestion?
>>
>
> How about "range specifier" ?

Variable  'selects' an object from a collection of objects. Do you  
think 'range specifier' conveys
the same meaning? How about 'collection selector' (or a synonym for  
selector if there is one)?

- fariborz

>
>
> -Chris




More information about the cfe-commits mailing list