analyze left expression in assignment operation

when it's incomplete
This commit is contained in:
Svetlana Isakova
2012-11-14 22:45:45 +04:00
parent c4428496bd
commit 41864c29b2
2 changed files with 9 additions and 8 deletions
@@ -5,7 +5,7 @@ fun sum(a : IntArray) : Int {
// Write your solution here
<!UNRESOLVED_REFERENCE!>res<!> = 0
for (e in a)
<!DEBUG_INFO_MISSING_UNRESOLVED!>res<!> <!DEBUG_INFO_MISSING_UNRESOLVED!>+=<!><!SYNTAX!><!>
<!UNRESOLVED_REFERENCE!>res<!> <!DEBUG_INFO_MISSING_UNRESOLVED!>+=<!><!SYNTAX!><!>
}
fun main(args : Array<String>) {
test(0)