Xcode-6.2 (6C131e): swiftc: Cannot override 'init' error when there is no attempt to override 'init'

Originator:segiddins
Number:rdar://20558335 Date Originated:15-Apr-2015 01:18 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode-6.2 (6C131e)
Classification:Serious Bug Reproducible:Always
 
Summary:
The swift compiler is giving an error that it cannot override ‘init’ which has been marked unavailable, in a file that does not actually declare any overrides nor initializers.

Steps to Reproduce:
1) git clone https://github.com/segiddins/realm-cocoa.git —branch seg-init-override-error —depth 1
2) open Realm.xcodeproj
3) cmd-U

Expected Results:
The tests should compile and run.

Actual Results:
The swift compiler gives an error: `cannot override ‘init’ which has been marked unavailable`, and does not point to a line of source that has caused this error.

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!