FIR: suppress VARIABLE_EXPECTED for error reference
This commit is contained in:
committed by
TeamCityServer
parent
c572bf05b5
commit
a297ee66d4
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user