Xcode8b5: Swift 3 migrator misses some stuff

Originator:markd
Number:rdar://27771279 Date Originated:8/9/2016
Status:Open Resolved:
Product:Developer Tools Product Version:Version 8.0 beta 5 (8S193k)
Classification:Other Bug Reproducible:Always
 
Summary:
The Swift3 migrator in xcode8b5 misses some stuff. Attached is a movie showing the specifics. But it missed:

*  override func collectionViewControllerSize() -> CGSize  ==>   override var collectionViewContentSize: CGSize {

* UICollectionViewLayoutAttributes's initializer got renamed, but the migrator didn't rename a subclass's version (see attached image)

* guards with 'where' clauses didn't get them removed.

Steps to Reproduce:


Expected Results:


Actual Results:


Version:
Version 8.0 beta 5 (8S193k)
10.11.5 (15F34)


Notes:


Configuration:


Attachments:
'missed-conversions.mp4' and 'Screen Shot 2016-08-09 at 3.51.50 PM.png' 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!