Open tombentley opened 8 years ago
The problem here is that the typechecker does the lookup via packages, and the ceylon.runtime
module doesn't contain a ceylon.runtime
package. That can be "fixed" by ensuring each of the bootstrap modules has a like-named package. But I'm not sure if they properly addresses interop (do we support getting module metamodels of interop modules @FroMage?)
Seems to me that's just wrong in ExpressionVisitor
it should not match by package name but by ModuleImport
transitively.
It seems that the typechecker incorrectly rejects metamodel references to imported bootstrap modules:
Give me "error: module not found in imported modules: 'ceylon.runtime'"