You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/decl/protocol/protocols.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -454,7 +454,7 @@ protocol ShouldntCrash {
454
454
letfullName:String{get} // expected-error {{'let' declarations cannot be computed properties}} {{3-6=var}}
455
455
456
456
// <rdar://problem/17200672> Let in protocol causes unclear errors and crashes
457
-
let fullName2:String // expected-error {{immutable property requirement must be declared as 'var' with a '{ get }' specifier}} {{24-24= { get \}}}
457
+
let fullName2:String // expected-error {{immutable property requirement must be declared as 'var' with a '{ get }' specifier}} {{3-6=var}} {{24-24= { get \}}}
458
458
459
459
// <rdar://problem/16789886> Assert on protocol property requirement without a type
460
460
varpropertyWithoutType{get} // expected-error {{type annotation missing in pattern}}
0 commit comments