[FIR] Find the correct FIR file in Java finder for file with JvmName
#KT-57802
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// IGNORE_LIGHT_ANALYSIS
|
||||
// WITH_STDLIB
|
||||
// FILE: Bar.java
|
||||
package one.two;
|
||||
|
||||
public class Bar {
|
||||
public static final int BAR = OtherKt.FOO + 1;
|
||||
}
|
||||
|
||||
// FILE: Main.kt
|
||||
@file:JvmName(<!EVALUATED("OtherKt")!>"OtherKt"<!>)
|
||||
package one.two
|
||||
|
||||
const val FOO = <!EVALUATED("1")!>1<!>
|
||||
|
||||
const val BAZ = <!EVALUATED("3")!>Bar.BAR + 1<!>
|
||||
|
||||
fun box(): String {
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user