mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 15:50:52 +07:00
[kotlin] Run import optimizer when no usages are found
Fixes the issue in Kotlin, Java and Groovy. #KTIJ-28288 Fixed GitOrigin-RevId: 7cd5942539a10f9ccdba386396f15546b0a9ac00
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f33959ccc5
commit
dc11424f70
@@ -0,0 +1,7 @@
|
||||
package pack2;
|
||||
|
||||
public class X {
|
||||
public static void main(String[] args) {
|
||||
Y().foo();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package pack2;
|
||||
|
||||
public class Y {
|
||||
void foo() { }
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package pack1;
|
||||
|
||||
import pack2.Y;
|
||||
|
||||
public class X {
|
||||
public static void main(String[] args) {
|
||||
Y().foo();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package pack2;
|
||||
|
||||
public class Y {
|
||||
void foo() { }
|
||||
}
|
||||
Reference in New Issue
Block a user