Skip to content

Commit c9ee77f

Browse files
meg-guptaahoppen
andauthored
Update Sources/SwiftParser/Patterns.swift
Co-authored-by: Alex Hoppen <ahoppen@apple.com>
1 parent d0817d9 commit c9ee77f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftParser/Patterns.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ extension Parser.Lookahead {
354354
&& !self.at(.keyword(.__owned))
355355
&& !self.at(.keyword(.borrowing))
356356
&& !self.at(.keyword(.consuming))
357-
&& (!experimentalFeatures.contains(.nonEscapableTypes) || !self.at(.keyword(._resultDependsOn)))
357+
&& !(experimentalFeatures.contains(.nonEscapableTypes) && self.at(.keyword(._resultDependsOn)))
358358
{
359359
return true
360360
}

0 commit comments

Comments
 (0)