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 sum(a : IntArray) : Int {
// Write your solution here
<!UNRESOLVED_REFERENCE!>res<!> = 0
for (e in a)
<!UNRESOLVED_REFERENCE, VARIABLE_EXPECTED!>res<!> +=<!SYNTAX!><!>
<!UNRESOLVED_REFERENCE!>res<!> +=<!SYNTAX!><!>
<!NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY{LT}!>}<!>
fun main() {
test(0)