added info about smart casts to diagnostic tests

This commit is contained in:
Svetlana Isakova
2013-12-06 20:12:41 +04:00
parent 00da5fe1fb
commit c30259dfbe
116 changed files with 383 additions and 348 deletions
@@ -1,19 +1,19 @@
fun simpleWhile(x: Int?, y0: Int) {
var y = y0
while (x!! == y) {
x : Int
<!DEBUG_INFO_AUTOCAST!>x<!> : Int
y++
}
x : Int
<!DEBUG_INFO_AUTOCAST!>x<!> : Int
}
fun whileWithBreak(x: Int?, y0: Int) {
var y = y0
while (x!! == y) {
x : Int
<!DEBUG_INFO_AUTOCAST!>x<!> : Int
break
}
x : Int
<!DEBUG_INFO_AUTOCAST!>x<!> : Int
}
fun whileWithNoCondition(x: Int?) {