Skip to content
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

[SR-11740] [Source Compat] Bow fails with "overriding declarations in extensions is not supported" #54147

Closed
xymus opened this issue Nov 8, 2019 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself type checker Area → compiler: Semantic analysis

Comments

@xymus
Copy link
Contributor

xymus commented Nov 8, 2019

Previous ID SR-11740
Radar rdar://57029805
Original Reporter @xymus
Type Bug
Status Resolved
Resolution Done

Attachment: Download

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, TypeChecker
Assignee None
Priority Medium

md5: b0f3c4bcb3f62783fd4025bede8ff630

Issue Description:

Fails in source compat suites for the master branch similarly to this: https://ci.swift.org/job/swift-master-source-compat-suite/4378

/Users/buildnode/jenkins/workspace-private/swift-master-source-compat-suite/project_cache/Bow/Sources/Bow/Transformers/EitherT.swift:132:24: error: overriding declarations in extensions is not supported
    public static func fromEither(_ either: Either<A, B>) -> EitherT<F, A, B> {
                       ^
/Users/buildnode/jenkins/workspace-private/swift-master-source-compat-suite/project_cache/Bow/Sources/Bow/Typeclasses/ApplicativeError.swift:151:17: note: overridden declaration is here
    static func fromEither(_ fea: Either<F.E, A>) -> Kind<F, A> {
                ^
/Users/buildnode/jenkins/workspace-private/swift-master-source-compat-suite/project_cache/Bow/Sources/Bow/Transformers/WriterT.swift:112:24: error: overriding declarations in extensions is not supported
    public static func tell(_ l: W) -> WriterT<F, W, Unit>  {
                       ^
/Users/buildnode/jenkins/workspace-private/swift-master-source-compat-suite/project_cache/Bow/Sources/Bow/Typeclasses/MonadWriter.swift:95:17: note: overridden declaration is here
    static func tell(_ w: F.W) -> Kind<F, ()> {
                ^
/Users/buildnode/jenkins/workspace-private/swift-master-source-compat-suite/project_cache/Bow/Sources/Bow/Transformers/WriterT.swift:182:17: error: overriding declarations in extensions is not supported
    public func listen() -> Kind<WriterTPartial<F, W>, (W, A)> {
                ^
/Users/buildnode/jenkins/workspace-private/swift-master-source-compat-suite/project_cache/Bow/Sources/Bow/Typeclasses/MonadWriter.swift:75:10: note: overridden declaration is here
    func listen() -> Kind<F, (F.W, A)> {
@slavapestov
Copy link
Member

#28206

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself type checker Area → compiler: Semantic analysis
Projects
None yet
Development

No branches or pull requests

2 participants