Add inspection "Map replaceable with EnumMap" #KT-25439 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
607325c6e5
commit
d86ffd3f34
@@ -0,0 +1,8 @@
|
||||
// RUNTIME_WITH_FULL_JDK
|
||||
import java.util.HashMap
|
||||
|
||||
enum class E {
|
||||
A, B
|
||||
}
|
||||
|
||||
fun getMap(): Map<E, String> = <caret>HashMap()
|
||||
Reference in New Issue
Block a user