ceylon/ceylon-spec — Issue #91: Offer a pluggable mechanism to load unavailable modules
Author: emmanuelbernard
Created: 2011-12-07 13:43:06+00:00
State: open

This is useful for the compiler to load modules in binary format.

This is likely to require to expose the guts of the TypeChecker to the compiler and force this mechanism to build the Module / Package / ... model and the PhasedUnits associated.

The good news is that the code in need for such pluggable mechanism is fairly compact. That's what is in `ModuleValidator.verifyModuleDependencyTree ` and specifically the code block inside the `if ( ! module.isAvailable() ) { ... }`.