File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1972,7 +1972,7 @@ extension Parser.Lookahead {
1972
1972
1973
1973
// If this is the start of a get/set accessor, then it isn't a trailing
1974
1974
// closure.
1975
- guard !self . withLookahead ( { $0. isStartOfGetSetAccessor ( ) } ) else {
1975
+ guard !self . withLookahead ( { $0. atStartOfGetSetAccessor ( ) } ) else {
1976
1976
return false
1977
1977
}
1978
1978
Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ extension Parser.Lookahead {
246
246
// MARK: Lookahead
247
247
248
248
extension Parser . Lookahead {
249
- mutating func isStartOfGetSetAccessor ( ) -> Bool {
249
+ mutating func atStartOfGetSetAccessor ( ) -> Bool {
250
250
precondition ( self . at ( . leftBrace) , " not checking a brace? " )
251
251
252
252
// The only case this can happen is if the accessor label is immediately after
You can’t perform that action at this time.
0 commit comments