Protocol conformance ignored when Self used #76543
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
triage needed
This issue needs more specific labels
Description
Compiler behaves in surprising ways when stating protocols using
Self
and/ortypealias
.Reproduction
Expected behavior
There shouldn't be difference between
struct S1: Self.Conforms
andstruct S1: S1.Conforms
Environment
swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Swift version 6.1-dev (LLVM b5c60054ab3ee7b, Swift 84e93a26ea8ccf5)
Additional information
No response
The text was updated successfully, but these errors were encountered: