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-9252] Source compatibility failure in Tagged project (master branch) #51734

Open
xedin opened this issue Nov 14, 2018 · 1 comment
Open
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself source compatibility standard library Area: Standard library umbrella

Comments

@xedin
Copy link
Member

xedin commented Nov 14, 2018

Previous ID SR-9252
Radar None
Original Reporter @xedin
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Compiler, Standard Library
Labels Bug, SourceCompatibility
Assignee None
Priority Medium

md5: 32737c25a375811c27bc118d623e45c1

Issue Description:

After adding AdditiveArithmetic protocol one of the source compatibility suite projects `Tagged` started failing with following error:

/Users/buildnode/jenkins/workspace-private/swift-master-source-compat-suite/project_cache/Tagged/Sources/Tagged/Tagged.swift:110:1: error: conditional conformance of type 'Tagged<Tag, RawValue>' to protocol 'Numeric' does not imply conformance to inherited protocol 'AdditiveArithmetic'
extension Tagged: Numeric where RawValue: Numeric {
^

e.g. https://ci.swift.org/view/Source%20Compatibility/job/swift-master-source-compat-suite/2852/artifact/swift-source-compat-suite/FAIL_Tagged_4.1_BuildSwiftPackage.log

@belkadan
Copy link
Contributor

cc @airspeedswift

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
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 source compatibility standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

2 participants