Method signature completion not offered for class methods

Originator:jalkut
Number:rdar://31557685 Date Originated:11-Apr-2017 12:19 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Version 8.3.1 (8E1000a)
Classification:UI/Usability Reproducible:Always
 
Summary:
When typing an override subclass implementation of a superclass's class method, Xcode doesn't offer to complete the method name/signature.

Steps to Reproduce:
1. Paste into a Playground:

import Foundation

class HighClass {
	class func myClassFunc() -> () {
	}

	func myFunc() -> () {
	}
}

class LowClass: HighClass {
}

2. After it's compiled and run once (giving it time to be indexed), click into LowClass's implementation and type:

override class func my

Expected Results:
Xcode should complete to the superclass's declared myClassFunc()

Actual Results:
Xcode offers to complete myFunc(), which is less sensical given I've typed "override class", and it completely refuses to offer completing myClassFunc().

Version:
Version 8.3.1 (8E1000a)

Notes:


Configuration:


Attachments:

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!