Fix false positive "Unused import" for type alias
#KT-29977 Fixed
This commit is contained in:
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
import MyEnum
|
||||
|
||||
typealias Other = MyEnum
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Optimize imports" "false"
|
||||
// ACTION: Introduce import alias
|
||||
|
||||
import test.Other.HELLO<caret>
|
||||
|
||||
val ONE = HELLO
|
||||
|
||||
enum class MyEnum {
|
||||
HELLO
|
||||
}
|
||||
Reference in New Issue
Block a user