[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:
Dmitriy Novozhilov
2020-12-07 10:08:56 +03:00
parent 1d04fecd29
commit e6b5cb5216
1823 changed files with 3014 additions and 2662 deletions
@@ -0,0 +1,35 @@
FILE: importedReceiver.kt
public final fun <T> R|T|.foo(): R|kotlin/Unit| {
}
public abstract interface Your<R> : R|kotlin/Any| {
public open fun wat(): R|kotlin/Unit| {
}
public open fun <T> R|T|.watwat(): R|kotlin/Unit| {
}
}
public final object My : R|Your<kotlin/Double>| {
private constructor(): R|My| {
super<R|kotlin/Any|>()
}
public final fun <T> R|T|.bar(): R|kotlin/Unit| {
}
public final fun baz(): R|kotlin/Unit|
public final fun R|kotlin/Boolean|.gau(): R|kotlin/Unit| {
}
}
public final fun test(): R|kotlin/Unit| {
Int(42).R|/foo|<R|kotlin/Int|>()
String().R|/foo|<R|kotlin/String|>()
(Q|My|, Int(42)).R|/My.bar|<R|kotlin/Int|>()
(Q|My|, String()).R|/My.bar|<R|kotlin/String|>()
Q|My|.R|/My.baz|()
(Q|My|, Boolean(true)).R|/My.gau|()
Q|My|.R|/Your.wat|()
(Q|My|, Boolean(false)).R|SubstitutionOverride</My.watwat: R|kotlin/Unit|>|<R|kotlin/Boolean|>()
}