5c34b27ea9
Do not generate stubs if there is no special bridge in the current class - there are already Kotlin super class in hierarchy - special bridge has the same signature as method itself #KT-11915 Fixed
16 lines
307 B
Kotlin
Vendored
16 lines
307 B
Kotlin
Vendored
import java.util.*
|
|
|
|
open class Map1 : HashMap<String, Any?>()
|
|
class Map2 : Map1()
|
|
fun box(): String {
|
|
val m = Map2()
|
|
if (m.entries.size != 0) return "fail 1"
|
|
|
|
m.put("56", "OK")
|
|
val x = m.entries.iterator().next()
|
|
|
|
if (x.key != "56" || x.value != "OK") return "fail 2"
|
|
|
|
return "OK"
|
|
}
|