We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18af945 commit b183c69Copy full SHA for b183c69
validation-test/compiler_crashers_2_fixed/sr13141.swift
@@ -0,0 +1,12 @@
1
+// RUN: %target-swift-frontend -emit-ir %s
2
+
3
+public protocol Book {
4
+ associatedtype Name
5
+}
6
+public protocol BookDecorator: Book where Name == DecoratedBook.Name {
7
+ associatedtype DecoratedBook: Book
8
+ associatedtype Name = DecoratedBook.Name
9
10
+public class ConcreteBookDecorator<T: Book>: BookDecorator {
11
+ public typealias DecoratedBook = T
12
0 commit comments