[FIR] During resolve, set correctly property reference type in delegate

This commit is contained in:
Mikhail Glukhikh
2020-03-31 17:11:49 +03:00
parent 58e00400f1
commit 036b6c63f6
42 changed files with 181 additions and 73 deletions
@@ -1,5 +1,6 @@
class C(val map: MutableMap<String, Any>) {
var foo by map
// NB: this does not work because of @LowPriorityInOverloadResolution not deserialized (KT-37228)
var foo by <!AMBIGUITY!>map<!>
}
var bar by hashMapOf<String, Any>()
var bar by <!AMBIGUITY!>hashMapOf<String, Any>()<!>