When writing mapOf<Any, Any>()
, mapOf is underlined with Unresolved reference: mapOf
kotlin(UNRESOLVED_REFERENCE)
.
Despite mapOf being in the standard imports of the standard library. Same with sequence
and listOf
.
I have kotlinc version 2.1.0 and java version 23.0.1.