[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,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !WITH_NEW_INFERENCE
|
||||
// NI_EXPECTED_FILE
|
||||
// JAVAC_EXPECTED_FILE
|
||||
@@ -28,7 +29,17 @@ public final class Exotic implements Base, Other {
|
||||
|
||||
import kotlin.jvm.functions.Function0;
|
||||
|
||||
class Val<T> {
|
||||
public class Properties {
|
||||
static <T> Val<T> calcVal(Function0<T> initializer) {
|
||||
return new Val<T>(initializer);
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: Val.java
|
||||
|
||||
import kotlin.jvm.functions.Function0;
|
||||
|
||||
public class Val<T> {
|
||||
|
||||
Function0<T> initializer;
|
||||
|
||||
@@ -41,12 +52,6 @@ class Val<T> {
|
||||
}
|
||||
}
|
||||
|
||||
class Properties {
|
||||
static <T> Val<T> calcVal(Function0<T> initializer) {
|
||||
return new Val<T>(initializer);
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: My.kt
|
||||
|
||||
open class Wrapper<out T: Base>(val v: T)
|
||||
|
||||
Reference in New Issue
Block a user