Unused symbol: handle imports from nested objects correctly

So #KT-17437 Fixed
This commit is contained in:
Mikhail Glukhikh
2017-09-08 18:56:14 +03:00
committed by Mikhail Glukhikh
parent 7e3d3bde74
commit 37d2386a0b
3 changed files with 27 additions and 3 deletions
@@ -0,0 +1,14 @@
// PROBLEM: none
import My.Companion.create
class <caret>My {
companion object {
fun create() = My()
}
}
fun test() {
val my = create()
my.hashCode()
}