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 2cc0088 commit ba004b6Copy full SHA for ba004b6
lib/ASTGen/Sources/ASTGen/LexicalLookup.swift
@@ -369,7 +369,7 @@ private func flaggingPass(
369
let sllResult = sllResults[i + sllOffset]
370
371
// Check if lookup was stopped earlier. If so, flag this result with lookupStopped.
372
- if wasLookupStopped {
+ if wasLookupStopped && !(astResult?.isTheEndOfLookup ?? false) {
373
sllResult.flags.insert(.lookupStopped)
374
}
375
lib/CompilerSwiftSyntax/CMakeLists.txt
@@ -35,6 +35,7 @@ includeSwiftSyntax()
35
set(compiler_swiftsyntax_libs
36
_CompilerSwiftSyntax
37
_CompilerSwiftIfConfig
38
+ _CompilerSwiftLexicalLookup
39
_CompilerSwiftOperators
40
_CompilerSwiftSyntaxBuilder
41
_CompilerSwiftParser
0 commit comments