You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swift-ci opened this issue
Apr 24, 2017
· 2 comments
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselffeatureA feature request or implementation
The compiler tells me that I should add the override label (I don't think it should). When I do add the override label, it tells me that it's not overriding anything.
The text was updated successfully, but these errors were encountered:
We don't really have a good way to say "I don't want to inherit initializers, but I do want to reuse some of the signatures." A nonoverride kind of keyword would fix that.
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselffeatureA feature request or implementation
Environment
Version 8.3.2 (8E2002), default Swift.
Additional Detail from JIRA
md5: a37a0cb22a15400855e3e83876122ded
Issue Description:
I have a very simple NSObject subclass which has a custom initializer that throws:
{{final class Test: NSObject {
init() throws {
// custom behavior
super.init()
}
}
}}
The compiler tells me that I should add the override label (I don't think it should). When I do add the override label, it tells me that it's not overriding anything.
The text was updated successfully, but these errors were encountered: