-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[3.1][CodeComplete] Don't emit 'override' in protocol extension #7160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.1][CodeComplete] Don't emit 'override' in protocol extension #7160
Conversation
Also, don't emit any inherited decls in protocol declaration.
@swift-ci Please test |
Build failed |
@swift-ci Please test OS X Platform |
Build failed |
module cache problem?
@swift-ci Please clean test OS X platform |
@benlangmuir Do we actually want to take this for 3.1? It seems low risk but it's not a regression... |
@slavapestov @benlangmuir In Xcode8.2, this doesn't emit protocol BaseP {
init(base: Int)
}
protocol TestP : BaseP {}
extension TestP {
#^TOKEN^#
} |
I think it's a good fix to take for 3.1; as @rintaro says it is a regression. |
Thank you! |
Cherry-pick #7140
override
keyword in protocolextension
s because it's invalid.