ac203591e5
This fixes a false negative NO_ELSE_IN_WHEN in K2 and incidentally also fixes a false positive NO_ELSE_IN_WHEN in K1 since the fix is in the common code. #KT-62491 Fixed
25 lines
594 B
Kotlin
Vendored
25 lines
594 B
Kotlin
Vendored
// FILE: useSite.kt
|
|
|
|
import C.StaticConfigurationClass.INIT_INSPECTIONS
|
|
|
|
fun foo(): Int = 4
|
|
|
|
// FILE: InspectionProfileImpl.java
|
|
import static Configuration.StaticConfigurationClass
|
|
|
|
public static final class C extends StaticConfigurationClass {
|
|
public abstract sealed class StaticConfigurationClass {
|
|
public static boolean INIT_INSPECTIONS;
|
|
}
|
|
}
|
|
|
|
// FILE: Configuration.java
|
|
public class Configuration implements KotlinInterface {
|
|
public static class StaticConfigurationClass {
|
|
}
|
|
}
|
|
|
|
// FILE: KotlinInterface.kt
|
|
interface KotlinInterface {
|
|
var selectedOptions: Int
|
|
} |