Skip to content

Commit f1d830a

Browse files
committed
fixup! [Sema] Add fix-it for property in protocol
1 parent 7d35c95 commit f1d830a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/decl/var/properties.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ struct WillSetDidSetDisambiguate3 {
850850
}
851851

852852
protocol ProtocolGetSet1 {
853-
var a: Int // expected-error {{property in protocol must have explicit { get } or { get set } specifier}} //{{13-13= { get <#set#> \}}}
853+
var a: Int // expected-error {{property in protocol must have explicit { get } or { get set } specifier}} {{13-13= { get <#set#> \}}}
854854
}
855855
protocol ProtocolGetSet2 {
856856
var a: Int {} // expected-error {{property in protocol must have explicit { get } or { get set } specifier}} {{14-16={ get <#set#> \}}}

0 commit comments

Comments
 (0)