From 5a74cc1e0c036e9b644a53f0e689ff873b927100 Mon Sep 17 00:00:00 2001 From: Pavel Marek Date: Thu, 21 Nov 2024 11:56:26 +0100 Subject: [PATCH] Fix errors in polyglot imports --- .../org/enso/compiler/pass/analyse/AmbiguousImportsAnalysis.java | 1 - 1 file changed, 1 deletion(-) diff --git a/engine/runtime-compiler/src/main/java/org/enso/compiler/pass/analyse/AmbiguousImportsAnalysis.java b/engine/runtime-compiler/src/main/java/org/enso/compiler/pass/analyse/AmbiguousImportsAnalysis.java index a715696992..bfbe7aabd1 100644 --- a/engine/runtime-compiler/src/main/java/org/enso/compiler/pass/analyse/AmbiguousImportsAnalysis.java +++ b/engine/runtime-compiler/src/main/java/org/enso/compiler/pass/analyse/AmbiguousImportsAnalysis.java @@ -208,7 +208,6 @@ public final class AmbiguousImportsAnalysis implements MiniPassFactory { throw new IllegalStateException("Unsupported polyglot entity: " + polyglotImp.entity()); } tryAddEncounteredSymbol(polyglotImp, symbolName, symbolPath, null, errorsForImport); - return List.of(); } default -> {}