mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
- support shadowing module imports by package-on-demand (cherry picked from commit 643fc10bcbfee2f1d41ec02e624b30bc3a48e4bb) GitOrigin-RevId: d1e49b2d48f0b69f8e15393cb823e5529f9b4452
8 lines
265 B
Java
8 lines
265 B
Java
import module my.source.moduleB;
|
|
|
|
import my.source.moduleA.*;
|
|
|
|
class AmbiguousModuleImportWithPackageImport {
|
|
<error descr="Reference to 'Imported' is ambiguous, both 'my.source.moduleA.Imported' and 'my.source.moduleB.Imported' match">Imported</error> module;
|
|
}
|