speedup java class resolve a bit

don't even look for class in on-demand imports when named import matches
This commit is contained in:
peter
2018-04-16 18:59:52 +02:00
parent a8613266c6
commit b2b723fa44
5 changed files with 163 additions and 83 deletions
@@ -18,6 +18,6 @@ import static <error descr="'D' is already defined in a single-type import">x.Ba
class UsageMixed {
void use() {
<error descr="Reference to 'D' is ambiguous, both 'x.Base1.D' and 'x.Base2.D' match">D</error>.class.getName();
D.class.getName();
}
}