mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
[java-highlighting] WIP IDEA-372968 Support JEP 511: Module Import Declarations
- nothing changed in jep, more tests GitOrigin-RevId: 03e655a19855acdfe1f7983b25c6aa7158b73393
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7e63177200
commit
19096c38a1
@@ -0,0 +1,6 @@
|
||||
<error descr="Module Import Declarations are not supported at language level '24'">import module java.base;</error>
|
||||
import a.b.*;
|
||||
|
||||
class A{
|
||||
<error descr="Reference to 'List' is ambiguous, both 'a.b.List' and 'java.util.List' match">List</error> a;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import a.b.*;
|
||||
|
||||
List<caret> a;
|
||||
|
||||
void main() {
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import static a.b.Other.*;
|
||||
|
||||
List<caret> a;
|
||||
|
||||
void main() {
|
||||
}
|
||||
Reference in New Issue
Block a user