Gopal S Akshintala
06/17/2022, 12:13 PMinternal 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:
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!Alexey Belkov [JB]
06/17/2022, 12:47 PMGopal S Akshintala
06/17/2022, 3:10 PM