Xcode8 - suggests nonsensical completions

Originator:markd
Number:rdar://27630423 Date Originated:7/31/2016
Status:Open Resolved:
Product:Developer Tools Product Version:Version 8.0 beta 3 (8S174q)
Classification:Usability/UI Reproducible:Sometimes
 
Summary:
Whenever I try to complete something, Xcode offers "color literal" and "image literal", even when they make no sense.

See attached movie - I do a completion of my own, root-level class (which also conforms to CustomStringConvertible) for a single class-level method.

I get that method suggested (yay), description (yay CustomStringConvertible), and two fancy literals.

I tried using one of them (maybe I'm missing something obvious), but no, when I complete using them, I get errors.

Project is also attached, FWIW.  Brand new trivial project. About 20 minutes programming, 30 minutes radar filing so far.

Steps to Reproduce:


Expected Results:
Don't suggest things that don't make sense

Actual Results:


Version:
Version 8.0 beta 3 (8S174q)
10.11.5 (15F34)


Notes:
It's really not that big a deal - just ignore half of what the completion window offers, but
when these kinds of things happen day-in, day-out, it's just another heavy-sigh
death-of-a-thousand-cuts that makes using Xcode unpleasant.


Configuration:


Attachments:
'MyFatnessPal.zip' and 'no-color-for-you.mp4' were successfully uploaded.

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!