Reporting ACCIDENTAL_OVERRIDE on jvm signatures that have no descriptors
(marking them SYNTHETIC)
This commit is contained in:
committed by
Michael Bogdanov
parent
9b7bccce22
commit
b8b0316d97
+11
@@ -0,0 +1,11 @@
|
||||
import kotlin.platform.platformStatic
|
||||
|
||||
open class Base {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
class Derived : Base() {
|
||||
class object {
|
||||
<!ACCIDENTAL_OVERRIDE!>platformStatic fun foo()<!> {}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user