Fix false positive "Unused import" for type alias

#KT-29977 Fixed
This commit is contained in:
Dmitry Gridin
2019-03-20 19:26:29 +07:00
parent 7e4b3ceede
commit 600a955a51
4 changed files with 26 additions and 2 deletions
@@ -0,0 +1,5 @@
package test
import MyEnum
typealias Other = MyEnum
@@ -0,0 +1,10 @@
// "Optimize imports" "false"
// ACTION: Introduce import alias
import test.Other.HELLO<caret>
val ONE = HELLO
enum class MyEnum {
HELLO
}