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 {
19721972
19731973 // If this is the start of a get/set accessor, then it isn't a trailing
19741974 // closure.
1975- guard !self . withLookahead ( { $0. isStartOfGetSetAccessor ( ) } ) else {
1975+ guard !self . withLookahead ( { $0. atStartOfGetSetAccessor ( ) } ) else {
19761976 return false
19771977 }
19781978
Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ extension Parser.Lookahead {
246246// MARK: Lookahead
247247
248248extension Parser . Lookahead {
249- mutating func isStartOfGetSetAccessor ( ) -> Bool {
249+ mutating func atStartOfGetSetAccessor ( ) -> Bool {
250250 precondition ( self . at ( . leftBrace) , " not checking a brace? " )
251251
252252 // 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