mirror of
https://github.com/enso-org/enso.git
synced 2024-11-21 16:36:59 +03:00
Remove unnecessary isntancdeof
This commit is contained in:
parent
5a74cc1e0c
commit
92a07254c7
@ -102,8 +102,8 @@ public final class AmbiguousImportsAnalysis implements MiniPassFactory {
|
||||
public Module transformModule(Module moduleIr) {
|
||||
var newImports = new ArrayList<Import>();
|
||||
moduleIr.imports().foreach(imp -> {
|
||||
if (imp instanceof Import.Module impMod) {
|
||||
var errs = analyseAmbiguousSymbols(impMod);
|
||||
var errs = analyseAmbiguousSymbols(imp);
|
||||
if (!errs.isEmpty()) {
|
||||
newImports.addAll(errs);
|
||||
} else {
|
||||
newImports.add(imp);
|
||||
|
Loading…
Reference in New Issue
Block a user