[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:
@@ -8,7 +8,7 @@ open class B : In<B>
|
||||
|
||||
fun <T> select(x: T, y: T) = x
|
||||
|
||||
fun <!OI;IMPLICIT_INTERSECTION_TYPE!>foo2<!>() = select(A(), B()) // Type "In<A & B>" is prohibited in return position
|
||||
fun <!IMPLICIT_INTERSECTION_TYPE{OI}!>foo2<!>() = select(A(), B()) // Type "In<A & B>" is prohibited in return position
|
||||
|
||||
|
||||
|
||||
@@ -21,4 +21,4 @@ open class H : In<H>
|
||||
|
||||
fun <S> select8(a: S, b: S, c: S, d: S, e: S, f: S, g: S, h: S) = a
|
||||
|
||||
fun <!OI;IMPLICIT_INTERSECTION_TYPE!>foo8<!>() = select8(A(), B(), C(), D(), E(), F(), G(), H())
|
||||
fun <!IMPLICIT_INTERSECTION_TYPE{OI}!>foo8<!>() = select8(A(), B(), C(), D(), E(), F(), G(), H())
|
||||
|
||||
Reference in New Issue
Block a user