[FIR] NOTHING_TO_OVERRIDE diagnostic
This commit is contained in:
committed by
teamcityserver
parent
9452b788bf
commit
b44785c24e
@@ -1,11 +0,0 @@
|
||||
interface A {
|
||||
fun visit(a:Int, b:String="") : String = b + a
|
||||
}
|
||||
|
||||
class B : A {
|
||||
override fun visit(a:Int, b:String) : String = b + a
|
||||
}
|
||||
|
||||
class C : A {
|
||||
override fun visit(a:Int) : String = "" + a
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
interface A {
|
||||
fun visit(a:Int, b:String="") : String = b + a
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user