Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55)
Target: x86_64-apple-darwin20.5.0
Additional Detail from JIRA
Votes
0
Component/s
Compiler
Labels
Bug
Assignee
None
Priority
Medium
md5: a6580430cf4875efea2b6580bfa43a4f
Issue Description:
I couldn't find previous report about this behavior. Perhaps this is a known-issue, but just in case.
structWrapper<A> {
// actually WrapperInt is Wrapper<A>typealiasWrapperInt=Self<Int>
}
I read https://bugs.swift.org/browse/SR-7666, but about this, compiler should cause at least warning, because it must not work as expected. If `Self` stands for `Wrapper`, it should work as expected. If `Self` stands for `Wrapper<A>` then it should be error, because `Wrapper<A><Int>` doesn't make sense.
The text was updated successfully, but these errors were encountered:
swift-ci commentedJun 6, 2021
Environment
Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55)
Target: x86_64-apple-darwin20.5.0
Additional Detail from JIRA
md5: a6580430cf4875efea2b6580bfa43a4f
Issue Description:
I couldn't find previous report about this behavior. Perhaps this is a known-issue, but just in case.
I read https://bugs.swift.org/browse/SR-7666, but about this, compiler should cause at least warning, because it must not work as expected. If `Self` stands for `Wrapper`, it should work as expected. If `Self` stands for `Wrapper<A>` then it should be error, because `Wrapper<A><Int>` doesn't make sense.
The text was updated successfully, but these errors were encountered: