Fix annoying parameter name override warning
Some corner cases still remain: KotlinSignature, propagation, deserialized delegates to Java interfaces #KT-1239 Obsolete #KT-1924 In Progress #KT-2081 Fixed
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
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) {}
|
||||
}
|
||||
Reference in New Issue
Block a user