Skip to content

Commit da6d8c1

Browse files
committed
add radar # to testcase, NFC
Swift SVN r30189
1 parent 24fffb5 commit da6d8c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/SILPasses/definite_init_diagnostics.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1287,6 +1287,7 @@ extension ProtocolInitTest {
12871287
self.init(a: 42) // ok
12881288
}
12891289

1290+
// <rdar://problem/21684596> QoI: Poor DI diagnostic in protocol extension initializer
12901291
init(test1 ii: Int) {
12911292
i = ii // expected-error {{use of 'self' in delegating initializer before self.init is called}}
12921293
self.init()

0 commit comments

Comments
 (0)