[FIR] Implement ASSIGNMENT_TYPE_MISMATCH, RESULT_TYPE_MISMATCH diagnostics, fix tests
This commit is contained in:
committed by
TeamCityServer
parent
aa70c952eb
commit
e57108d4e8
@@ -4,7 +4,7 @@ class IncDec {
|
||||
|
||||
fun foo(): IncDec {
|
||||
var x = IncDec()
|
||||
x = x++
|
||||
x++
|
||||
x = <!RESULT_TYPE_MISMATCH!>x++<!>
|
||||
<!RESULT_TYPE_MISMATCH!>x++<!>
|
||||
return x
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user