We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0817d9 commit c9ee77fCopy full SHA for c9ee77f
Sources/SwiftParser/Patterns.swift
@@ -354,7 +354,7 @@ extension Parser.Lookahead {
354
&& !self.at(.keyword(.__owned))
355
&& !self.at(.keyword(.borrowing))
356
&& !self.at(.keyword(.consuming))
357
- && (!experimentalFeatures.contains(.nonEscapableTypes) || !self.at(.keyword(._resultDependsOn)))
+ && !(experimentalFeatures.contains(.nonEscapableTypes) && self.at(.keyword(._resultDependsOn)))
358
{
359
return true
360
}
0 commit comments