FIR: strengthen resolution success check for augmented array set call
This commit removes some false ambiguities & fixes compilation of tree-generator module with FIR
This commit is contained in:
committed by
TeamCityServer
parent
9bf2dfaa02
commit
9c2d06cf70
+3
-3
@@ -20,7 +20,7 @@ object MismatchingTypes {
|
||||
fun testMismatchingTypes() {
|
||||
++<!INAPPLICABLE_CANDIDATE!>MismatchingTypes[0]<!>
|
||||
<!INAPPLICABLE_CANDIDATE!>MismatchingTypes[0]<!>++
|
||||
MismatchingTypes[0] += 1
|
||||
<!UNRESOLVED_REFERENCE!>MismatchingTypes[0] += 1<!>
|
||||
}
|
||||
|
||||
object MismatchingArities1 {
|
||||
@@ -36,10 +36,10 @@ object MismatchingArities2 {
|
||||
fun testMismatchingArities() {
|
||||
++<!INAPPLICABLE_CANDIDATE!>MismatchingArities1[0]<!>
|
||||
<!INAPPLICABLE_CANDIDATE!>MismatchingArities1[0]<!>++
|
||||
MismatchingArities1[0] += 1
|
||||
<!UNRESOLVED_REFERENCE!>MismatchingArities1[0] += 1<!>
|
||||
|
||||
++<!INAPPLICABLE_CANDIDATE!>MismatchingArities2[0]<!>
|
||||
<!INAPPLICABLE_CANDIDATE!>MismatchingArities2[0]<!>++
|
||||
MismatchingArities2[0] += 1
|
||||
<!UNRESOLVED_REFERENCE!><!INAPPLICABLE_CANDIDATE!>MismatchingArities2[0]<!> += 1<!>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user