[FIR] Add desugaring of array assignments and resolve of it

#KT-37516 Fixed
This commit is contained in:
Dmitriy Novozhilov
2020-03-16 17:00:08 +03:00
parent 26f919df03
commit 2b986194fb
41 changed files with 608 additions and 233 deletions
@@ -13,7 +13,7 @@ operator fun Int.set(s: Int, x: String = "", z: Int) {
fun main() {
<!INAPPLICABLE_CANDIDATE!>1[2] = 1<!>
1.set(2, z = 1)
1[2] += 1
<!UNRESOLVED_REFERENCE!>1[2] += 1<!>
1.<!INAPPLICABLE_CANDIDATE!>set<!>(2, 1)
}