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 357c7ef commit 0ba003dCopy full SHA for 0ba003d
test/decl/var/property_wrappers.swift
@@ -1519,3 +1519,19 @@ func test_missing_method_with_lvalue_base() {
1519
}
1520
1521
1522
+
1523
+// SR-11288
1524
+// Look into the protocols that the type conforms to
1525
1526
+@propertyWrapper
1527
+struct SR_11288_S {
1528
+ var wrappedValue: Int
1529
+}
1530
1531
+protocol SR_11288_P {
1532
+ typealias Wrapper = SR_11288_S
1533
1534
1535
+struct SR_11288_C: SR_11288_P {
1536
+ @Wrapper var answer = 42 // Okay
1537
0 commit comments