Xcode does not syntax highlight unintialised objects

Originator:tonyarnold
Number:rdar://10632195 Date Originated:30-Dec-2011 07:27:58
Status:Duplicate/10632185 Resolved:
Product:Developer Tools Product Version:4.2.1/4D502
Classification:Other Bug Reproducible:Always
 
Summary:

Unintialised objects are drawn in Xcode's source editor without any syntax highlighting.


Steps to Reproduce:

In a new Objective-C implementation file (.m), enter the following two lines of code within a method:

NSError *noHighlightError;
NSError *highlightedError = nil;


Expected Results:

Both lines are syntax highlighted.


Actual Results:

Only the initialised (= nil) line is highlighted.


Regression:

No, this has been present for the last few releases of Xcode.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!