Negating a condition in a Swift 3.2 #if statement doesn't update syntax highlighting

Originator:jp
Number:rdar://33363006 Date Originated:17-Jul-2017 03:57 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 9 beta 3 (9M174d)
Classification:UI/Usability Reproducible:Always
 
Summary:
Negating a condition in a Swift 3.2 #if statement doesn't update syntax highlighting.

I’ve attached a screencast demonstrating this effect.

Steps to Reproduce:
1. Negate a condition in a Swift 3.2 #if statement doesn't update syntax highlighting
2. Observe the syntax highlighting for the body of the #if statement not update
3. Type some text (any text) in the body of the #if statement to observe the syntax highlighting update

Expected Results:
Syntax highlighting updated immediately

Actual Results:
Syntax highlighting only updated when typing other text

Version:
Xcode 9 beta 3 (9M174d)

Notes:
There are also certain text operations that incur more delay than others in refreshing the syntax highlighting information, as evidenced by the video attached.

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!