FIR: suppress VARIABLE_EXPECTED for error reference

This commit is contained in:
Tianyu Geng
2021-09-16 23:02:42 -07:00
committed by TeamCityServer
parent c572bf05b5
commit a297ee66d4
5 changed files with 17 additions and 8 deletions
@@ -7,7 +7,7 @@ fun bar1(x: Number, y: Int) {
}
fun bar2(x: Number) {
<!UNRESOLVED_REFERENCE, VARIABLE_EXPECTED!>y<!> += x as Int
<!UNRESOLVED_REFERENCE!>y<!> += x as Int
checkSubtype<Int>(x)
}