[FIR] Fix arguments mapping for indexed set operator
Now processPositionArgument changes STATE as well as processNamedArgument ^KT-59386
This commit is contained in:
committed by
Space Team
parent
8f5294a508
commit
43c66ee0e5
@@ -20,6 +20,11 @@ object Z {
|
||||
}
|
||||
}
|
||||
|
||||
object W {
|
||||
operator fun set(vararg va: Int, value: Int) {
|
||||
}
|
||||
}
|
||||
|
||||
fun test() {
|
||||
A[0] = <!TYPE_MISMATCH!>""<!>
|
||||
A[0] = 2.72
|
||||
@@ -32,4 +37,6 @@ fun test() {
|
||||
D[0] = 2.72
|
||||
|
||||
Z[<!TOO_MANY_ARGUMENTS!>0<!>] = <!TOO_MANY_ARGUMENTS!>""<!>
|
||||
|
||||
W[0] = 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user