e68111c218
- LL FIR tests with Java `record` classes and other new syntax features failed because `file.packageName` in `findJvmRootsForJavaFiles` caused the Java file to be parsed before the Java language level was configured. The Java language level is now set up in `registerJavaPsiFacade`, which is early enough.
13 lines
223 B
Kotlin
Vendored
13 lines
223 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// ISSUE: KT-41215
|
|
|
|
// FILE: Base.java
|
|
public sealed class Base permits A, B {}
|
|
|
|
// FILE: A.java
|
|
public final class A extends Base {}
|
|
|
|
// FILE: B.kt
|
|
|
|
class B : <!CLASS_INHERITS_JAVA_SEALED_CLASS!>Base<!>()
|