ACCIDENTAL_OVERRIDE diagnostics supported
#KT-1 In Progress
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
class A {
|
||||
open class B {
|
||||
val x = 1
|
||||
}
|
||||
|
||||
class A : B() {
|
||||
fun getX() = 1
|
||||
|
||||
fun getA(): Int = 1
|
||||
val a: Int = 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user