[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,33 @@
FILE: main.kt
public abstract interface KB<F> : R|kotlin/Any| {
public abstract override fun getFoo(): R|F|
public abstract override fun getBar(): R|F|
}
public abstract interface D1 : R|JA<kotlin/String>|, R|KB<kotlin/String>| {
}
public abstract interface E1 : R|D1| {
public abstract override fun getFoo(): R|kotlin/String|
public abstract override fun getBar(): R|kotlin/String|
}
public abstract interface D2 : R|KB<kotlin/String>|, R|JA<kotlin/String>| {
}
public abstract interface E2 : R|D2| {
public abstract override fun getFoo(): R|kotlin/String|
public abstract override fun getBar(): R|kotlin/String|
}
public final fun main(d1: R|D1|, e1: R|E1|, d2: R|D2|, e2: R|E2|): R|kotlin/Unit| {
R|<local>/d1|.R|/D1.foo|
R|<local>/d1|.<Unresolved name: bar>#
R|<local>/e1|.R|/E1.foo|
R|<local>/e1|.<Unresolved name: bar>#
R|<local>/d2|.R|/D2.foo|
R|<local>/d2|.<Unresolved name: bar>#
R|<local>/e2|.R|/E2.foo|
R|<local>/e2|.<Unresolved name: bar>#
}