Open tombentley opened 8 years ago
A related issue is that by default the TypeParser
will populate its modMap
using modules.list
which can contain duplicates and returns all loaded modules -- even ones not visible to (or even transitively depended upon by) the client of typeparser
.
The
TypeParser
fails to find thePackage
for classes when the module name is not a prefix of the package name. For example forcom.redhat.ceylon.compiler.java.runtime.metamodel.decl::ClassWithInitializerDeclarationImpl
the package resolving algorithm seescom.redhat.ceylon.compiler.java
and finds the thecompiler-java
module, then fails to find the package within that. That's because the given package is actually in theceylon.language
module.