ceylon/ceylon-spec — Issue #112: API for getting to source files
Author: FroMage
Created: 2011-12-19 11:58:46+00:00
State: open
Labels: improvement

ATM we can't access the PhasedUnits for dependencies of the modules we are creating. As a temporary step before the typechecker is able to load modules from `.car` files (in which case we'll need to revisit this), we should be able to access the `TypeChecker.phasedUnitsOfDependencies` property to find the list of `PhasedUnit` for a given `Module`. A `List TypeChecker.getPhasedUnits(Module)` would be even nicer and more to the point.

We also will need an API in VFS which lets us call `ZipEntryVirtualFile.openInputStream()` on closed zip files, so either by letting us get the parent `ZipFileVirtualFile` and adding a `ZipFileVirtualFile.reopen()` so we can reopen it from `ceylondoc` until we copied all its source files, or some other better solution that I can't think of.

This can wait for M2.