mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
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
@@ -0,0 +1,13 @@
|
||||
|
||||
import test.referenceToJavaFieldViaBridge
|
||||
|
||||
class A : referenceToJavaFieldViaBridge() {
|
||||
|
||||
fun a(): String {
|
||||
return {field!!}()
|
||||
}
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return A().a()
|
||||
}
|
||||
Reference in New Issue
Block a user