Add inspection to remove redundant qualifier name
#KT-12134 Fixed
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
// WITH_RUNTIME
|
||||
package my.simple.name
|
||||
|
||||
open class SuperClass {
|
||||
companion object {
|
||||
fun check() {}
|
||||
}
|
||||
}
|
||||
|
||||
class Child : SuperClass() {
|
||||
class Foo constructor() {
|
||||
constructor(i: Int) : this()
|
||||
|
||||
fun foo() {
|
||||
my.simple.name.SuperClass.check()
|
||||
Child.Foo<caret>.check()
|
||||
}
|
||||
|
||||
companion object {
|
||||
fun check() {}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user