https://kotlinlang.org logo
#intellij
Title
# intellij
v

vineethraj49

03/04/2020, 5:23 AM
Is there any way for intellij to warn about the following:
Copy code
fun main() {
    val qq = mutableMapOf<String, String>()
    // ...
    qq["abc"] to "def" // warn here?
    // ...
    println(qq) // prints {}
}
c

christophsturm

03/04/2020, 4:11 PM
seems useful. you could create a youtrack issue