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 03467a1 commit c1dc446Copy full SHA for c1dc446
validation-test/compiler_crashers_2_fixed/rdar111991454.swift
@@ -0,0 +1,18 @@
1
+// RUN: not %target-swift-frontend -typecheck %s
2
+
3
+protocol Box<Content> {
4
+ associatedtype Content
5
+ var value: Content {get set}
6
+}
7
+extension Box where Self == _Box {
8
+ init(_ v: Content) {
9
+ self.init(value: v)
10
+ }
11
12
13
+struct _Box<Content> {
14
+ var value: Content
15
+ init(value: Content) {
16
+ self.value = value
17
18
0 commit comments