check debug info errors in diagnostic tests

This commit is contained in:
Svetlana Isakova
2012-11-14 20:52:11 +04:00
parent df057010f3
commit 126f5e1668
14 changed files with 264 additions and 120 deletions
@@ -5,7 +5,7 @@ fun sum(a : IntArray) : Int {
// Write your solution here
<!UNRESOLVED_REFERENCE!>res<!> = 0
for (e in a)
res +=<!SYNTAX!><!>
<!DEBUG_INFO_MISSING_UNRESOLVED!>res<!> <!DEBUG_INFO_MISSING_UNRESOLVED!>+=<!><!SYNTAX!><!>
}
fun main(args : Array<String>) {
test(0)