3ee8c5e469
This should be an error, but there is an issue with Java interop: Java parameters may change names or not have them.
13 lines
226 B
Plaintext
13 lines
226 B
Plaintext
trait A {
|
|
fun b(a : Int)
|
|
}
|
|
|
|
trait B : A {}
|
|
|
|
class C1 : A {
|
|
override fun b(<!PARAMETER_NAME_CHANGED_ON_OVERRIDE!>b<!> : Int) {}
|
|
}
|
|
|
|
class C2 : B {
|
|
override fun b(<!PARAMETER_NAME_CHANGED_ON_OVERRIDE!>b<!> : Int) {}
|
|
} |