Class DependencyInstalledOrError

java.lang.Object
org.ek9lang.compiler.phase1.DependencyInstalledOrError
All Implemented Interfaces:
BiConsumer<String, EK9Parser.PackageBlockContext>

final class DependencyInstalledOrError extends Object implements BiConsumer<String, EK9Parser.PackageBlockContext>
Reports (E06263) each DIRECT dependency of a defines package block that is not installed in the library folder, on that dependency's own line in its deps or devDeps Dict - so the IDE, MCP, LSP and ek9 -c tell the same truth, where only the CLI's resolver used to (exit 17). The rule "installed" is IsDependencyInstalled, the one the resolver applies, over the library folder FileHandling.getUsersHomeEk9LibDirectory() names. excludeDeps are not checked and transitive dependencies stay the CLI's resolver's job. devDeps are checked always, as the CLI's resolver resolves them always.