Inspection & fix for redundant supertype qualification
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
open class B {
|
||||
open fun foo(p: String){}
|
||||
|
||||
fun foo(p: Int){}
|
||||
}
|
||||
|
||||
interface I {
|
||||
fun foo(p: String)
|
||||
}
|
||||
|
||||
class A : B(), I {
|
||||
fun foo(p: Any) {
|
||||
if (p is Int) {
|
||||
super<caret>.foo(p)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user