Add diagnostics to test data from NI

This commit is contained in:
Mikhail Zarechenskiy
2017-11-22 08:50:30 +03:00
parent a71238bf94
commit 8757298994
480 changed files with 1136 additions and 1120 deletions
@@ -3,9 +3,9 @@
fun test() {
val a = if (true) {
val x = 1
({ x })
({ <!NI;UNRESOLVED_REFERENCE!>x<!> })
} else {
{ 2 }
{ <!NI;UNUSED_EXPRESSION!>2<!> }
}
a checkType { _<() -> Int>() }
<!NI;DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>a<!> <!NI;DEBUG_INFO_ELEMENT_WITH_ERROR_TYPE!>checkType<!> { <!NI;UNRESOLVED_REFERENCE!>_<!><() -> Int>() }
}