Fixup from review (#5112)

Co-authored-by: Clément Fournier <clement.fournier76@gmail.com>
This commit is contained in:
Andreas Dangel 2024-08-13 11:22:43 +01:00
parent 21d499d5ef
commit 13b8556bf6
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3

View File

@ -208,7 +208,7 @@ public final class SymbolTableResolver {
List<ASTImportDeclaration> singleImports = new ArrayList<>();
List<ASTImportDeclaration> moduleImports = new ArrayList<>();
node.children(ASTImportDeclaration.class).toStream().forEach(i -> {
node.children(ASTImportDeclaration.class).forEach(i -> {
if (i.isModule()) {
moduleImports.add(i);
} else if (i.isImportOnDemand()) {