[FIR] Fix Java override ambiguity (Kotlin type parameter VS Java Object)

This commit is contained in:
Mikhail Glukhikh
2020-02-07 17:01:10 +03:00
parent 4b5f3b7a94
commit dc7621a112
9 changed files with 24 additions and 18 deletions
@@ -39,9 +39,9 @@ fun test2(value: Any?) {
// From KT-32116
fun test3(h: HashMap<*, *>) {
val a = <!AMBIGUITY!>h["str"]<!>
val b = <!AMBIGUITY!>h[1]<!>
val c = <!AMBIGUITY!>h["other"]<!> as? Double
val a = h["str"]
val b = h[1]
val c = h["other"] as? Double
}
// From KT-32218