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.
2 parents b93563e + b183c69 commit a1255a8Copy full SHA for a1255a8
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