Inspection & fix for redundant supertype qualification

This commit is contained in:
Valentin Kipyatkov
2015-08-26 15:05:10 +03:00
parent d62eeb1c25
commit 4717b17418
30 changed files with 531 additions and 2 deletions
@@ -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<B><caret>.foo(p)
}
}
}