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 5461b07 commit 059860aCopy full SHA for 059860a
Sources/SwiftLexicalLookup/SequentialScopeSyntax.swift
@@ -64,6 +64,8 @@ extension SequentialScopeSyntax {
64
}
65
66
for codeBlockItem in itemsWithoutNamedDecl {
67
+ guard codeBlockItem.position < origin.position else { break }
68
+
69
if let introducingToParentScope = Syntax(codeBlockItem.item).asProtocol(SyntaxProtocol.self)
70
as? IntroducingToSequentialParentScopeSyntax
71
{
0 commit comments