cab53361f3
Add some more filters on private/synthetic stuff (which doesn't matter in practice) to make full and light analysis mode dumps as similar as possible, so that all existing tests will pass for JVM IR. Unmute some tests which were failing with the old JVM backend. Tests on repeatable annotations are muted because in full analysis, annotations are wrapped into the container (e.g. `@A(1) @A(2)` -> `@A$Container(A(1), A(2))`), but they are no in the light analysis mode. So there's always going to be a difference for these tests between full and light analysis, unless we're going to change behavior of kapt, which would be a kind of a breaking change. #KT-58497 Fixed
24 lines
465 B
Kotlin
Vendored
24 lines
465 B
Kotlin
Vendored
// TARGET_BACKEND: JVM_IR
|
|
// ISSUE: KT-59140
|
|
|
|
// IGNORE_LIGHT_ANALYSIS
|
|
// ^ MISSING_DEPENDENCY_SUPERCLASS: Cannot access 'pkg.CommonFoo' which is a supertype of 'pkg.Foo'. Check your module classpath for missing or conflicting dependencies
|
|
|
|
// FILE: pkg/Foo.java
|
|
|
|
package pkg;
|
|
|
|
abstract class CommonFoo {
|
|
public static final String BAR = "OK";
|
|
}
|
|
|
|
public class Foo extends CommonFoo {}
|
|
|
|
// FILE: test.kt
|
|
|
|
import pkg.Foo.BAR
|
|
|
|
fun box(): String {
|
|
return BAR
|
|
}
|