Optional Chaining "?" Mysteriously Disappears on Line Wrapping

Originator:yi.ding.o
Number:rdar://FB9086225 Date Originated:Apr 23, 2021 at 12:35 PM
Status:Open Resolved:
Product:Xcode Product Version:12.5 (12E262)
Classification: Reproducible:
 
When "Wrap lines to editor width" preference is turned on, lines wrapped just before an optional chaining question mark ("?") somehow lose the question mark visually.

It doesn't affect the saved source and compiled syntax, just a visual glitch. Changing the window width or otherwise force the line wrap elsewhere restore the missing "?".

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!