[FIR] KT-42962: Ensure the issue is not present in K2
Merge-request: KT-MR-7288 Merged-by: Nikolay Lunyak <nikolay.lunyak@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
049b6899b7
commit
e2fdb352f1
@@ -0,0 +1,14 @@
|
||||
// MODULE: lib
|
||||
// FILE: TestA.java
|
||||
|
||||
public abstract class TestA {
|
||||
public abstract int getProp();
|
||||
}
|
||||
|
||||
// MODULE: main(lib)
|
||||
// FILE: TestB.kt
|
||||
|
||||
abstract class TestB : TestA() {
|
||||
<!ACCIDENTAL_OVERRIDE!>@JvmField
|
||||
protected var prop: Int<!> = 0
|
||||
}
|
||||
Reference in New Issue
Block a user