Closed swift-ci closed 5 years ago
is duplicated by:
Issue Description:
Given that:
Some property wrapper PW is in global scope
Some protocol P defines in its scope (neither private nor fileprivate) a typealias A of PW
private
fileprivate
Some type T implements P
Then:
@propertyWrapper struct SomeWrapper { var wrappedValue: Int } protocol HasWrapper { typealias Wrapper = SomeWrapper } struct Parent: HasWrapper { @Wrapper var answer = 42 }
@DougGregor, you had another one of these, right?
Fixed on master by https://github.com/apple/swift/pull/26795
Please verify using the next master snapshot and close this issue. Thanks!
Environment
macOS 10.15 Beta (19A526h) Xcode Version 11.0 beta 5 (11M382q) Apple Swift version 5.1 (swiftlang-1100.0.266.1 clang-1100.0.32.1) Target: x86_64-apple-darwin19.0.0Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug | |Assignee | @theblixguy | |Priority | Medium | md5: 6e58c672fba31e03c7bb421156e96fdfis duplicated by:
Issue Description:
Given that:
Some property wrapper PW is in global scope
Some protocol P defines in its scope (neither
private
norfileprivate
) a typealias A of PWSome type T implements P
Then:
SSCCE