[TD] Update diagnostics test data due to new test runners
Update includes:
- Changing syntax of `OI/`NI` tags from `<!NI;TAG!>` to `<!TAG{NI}!>`
- Fix some incorrect directives
- Change order of diagnostics in some places
- Remove ignored diagnostics from FIR test data (previously `DIAGNOSTICS` didn't work)
- Update FIR dumps in some places and add `FIR_IDENTICAL` if needed
- Replace all JAVAC_SKIP with SKIP_JAVAC directive
This commit is contained in:
+1
-1
@@ -35,4 +35,4 @@ fun mixedReceiver(s: String?) {
|
||||
<!UNSAFE_CALL!>length<!>
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -35,4 +35,4 @@ fun mixedReceiver(s: String?) {
|
||||
<!UNSAFE_CALL!>length<!>
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import kotlin.reflect.KProperty
|
||||
fun testLambdaArgumentSmartCast(foo: Int?) {
|
||||
val v = run {
|
||||
if (foo != null)
|
||||
return@run <!NI;DEBUG_INFO_SMARTCAST!>foo<!>
|
||||
return@run <!DEBUG_INFO_SMARTCAST{NI}!>foo<!>
|
||||
15
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -42,4 +42,4 @@ fun testDeMorgan2(x: Any?) {
|
||||
<!DEBUG_INFO_SMARTCAST!>x<!>.length
|
||||
<!DEBUG_INFO_SMARTCAST!>x<!>.inc()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -54,4 +54,4 @@ fun testNotNullWhenNotNull (x: Int?) {
|
||||
}
|
||||
|
||||
x<!UNSAFE_CALL!>.<!>dec()
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -78,4 +78,4 @@ fun falsefalse(x: Any?) {
|
||||
x.<!UNRESOLVED_REFERENCE!>length<!>
|
||||
x.<!UNRESOLVED_REFERENCE_WRONG_RECEIVER!>inc<!>()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -75,4 +75,4 @@ fun falsefalse(x: Any?) {
|
||||
<!DEBUG_INFO_SMARTCAST!>x<!>.length
|
||||
<!DEBUG_INFO_SMARTCAST!>x<!>.inc()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user