use of com.redhat.ceylon.compiler.typechecker.analyzer.ModuleValidator in project ceylon-compiler by ceylon.
the class CeyloncCompilerDelegate method resolveModuleDependencies.
@Override
public void resolveModuleDependencies(PhasedUnits phasedUnits) {
final StatusPrinter sp = getStatusPrinter();
com.redhat.ceylon.compiler.typechecker.context.Context ceylonContext = LanguageCompiler.getCeylonContextInstance(context);
final ModuleValidator validator = new ModuleValidator(ceylonContext, phasedUnits);
if (sp != null) {
validator.setListener(new StatusPrinterProgressListener(validator, sp));
sp.clearLine();
sp.log("Starting resolving");
}
validator.verifyModuleDependencyTree();
if (sp != null) {
sp.clearLine();
sp.log("Done resolving");
}
}
Aggregations