Not exactly EAP related, but right after I migrate...
# eap
g
Not exactly EAP related, but right after I migrated to Kotlin 1.7.0, I am getting this error at runtime. Can someone please help how to resolve this:
Copy code
internal data class PostmanEnvironment(private val environment: MutableMap<String, String?> = mutableMapOf()) :
  MutableMap<String, String?> by environment {
  fun set(key: String, value: String?) {
    environment[key] = value
  }

  @Suppress("unused")
  fun unset(key: String) {
    environment.remove(key)
  }
}
Error:
Copy code
Accidental override: The following declarations have the same JVM signature (entrySet()Ljava/util/Set;):
    fun entrySet(): MutableSet<Entry?>? defined in org.revcloud.postman.PostmanEnvironment
    fun entrySet(): MutableSet<MutableMap.MutableEntry<String, String?>> defined in org.revcloud.postman.PostmanEnvironment
Please redirect me if this is not the right channel. Thanks!
a
Can you please report this to YouTrack with full code sample and steps to reproduce?