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 ee4f9b2 commit f0f33ebCopy full SHA for f0f33eb
test/decl/protocol/protocols.swift
@@ -500,9 +500,8 @@ class C4 : P4 { // expected-error {{type 'C4' does not conform to protocol 'P4'}
500
// <rdar://problem/25185722> Crash with invalid 'let' property in protocol
501
protocol LetThereBeCrash {
502
let x: Int
503
- // expected-error@-1 {{immutable property requirement must be declared as 'var' with a '{ get }' specifier}}
+ // expected-error@-1 {{immutable property requirement must be declared as 'var' with a '{ get }' specifier}} {{13-13= { get \}}}
504
// expected-note@-2 {{declared here}}
505
- // {{13-13= { get \}}}
506
}
507
508
extension LetThereBeCrash {
0 commit comments