"Redundant qualifier name": add tests for enum/object
Relates to #KT-34113 Relates to #KT-32965 Relates to #KT-33991 Relates to #KT-33597
This commit is contained in:
committed by
Dmitry Gridin
parent
866ab51ce5
commit
a4f805ccd0
+17
@@ -0,0 +1,17 @@
|
||||
// PROBLEM: none
|
||||
// WITH_RUNTIME
|
||||
class A {
|
||||
companion object {
|
||||
val INST = A()
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
companion object {
|
||||
val INST = B()
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
<caret>A.INST.toString()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user