61302a2e08
Also minimize scope of DiagnosticUsingJavac tests to `compiler/testData/diagnostics/tests/javac`. This is fine since javac compilation mode is still not finished and no one not going to support it
24 lines
327 B
Kotlin
Vendored
24 lines
327 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// FILE: p/p.kt
|
|
package p
|
|
|
|
object Object {
|
|
sealed class Sealed1 {
|
|
sealed class Sealed2 {
|
|
}
|
|
}
|
|
}
|
|
|
|
// FILE: a/x.java
|
|
package a;
|
|
|
|
import p.Object;
|
|
|
|
public class x {
|
|
public Object.Sealed1.Sealed2 getSealed2() { return null; };
|
|
}
|
|
|
|
// FILE: test.kt
|
|
package a
|
|
|
|
fun test() = x().getSealed2() |