[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:
@@ -12,8 +12,8 @@
|
||||
* overload-resolution, determining-function-applicability-for-a-specific-call, description -> paragraph 1 -> sentence 3
|
||||
*/
|
||||
|
||||
val <!OI;IMPLICIT_NOTHING_PROPERTY_TYPE!>test1<!> = when {
|
||||
true -> { <!OI;TYPE_MISMATCH!>{ true }<!> }
|
||||
val <!IMPLICIT_NOTHING_PROPERTY_TYPE{OI}!>test1<!> = when {
|
||||
true -> { <!TYPE_MISMATCH{OI}!>{ true }<!> }
|
||||
else -> TODO()
|
||||
}
|
||||
|
||||
@@ -22,10 +22,10 @@ val test1a: () -> Boolean = when {
|
||||
else -> TODO()
|
||||
}
|
||||
|
||||
val <!OI;IMPLICIT_NOTHING_PROPERTY_TYPE!>test2<!> = when {
|
||||
true -> { <!OI;TYPE_MISMATCH!>{ true }<!> }
|
||||
val <!IMPLICIT_NOTHING_PROPERTY_TYPE{OI}!>test2<!> = when {
|
||||
true -> { <!TYPE_MISMATCH{OI}!>{ true }<!> }
|
||||
else -> when {
|
||||
true -> { <!OI;TYPE_MISMATCH!>{ true }<!> }
|
||||
true -> { <!TYPE_MISMATCH{OI}!>{ true }<!> }
|
||||
else -> TODO()
|
||||
}
|
||||
}
|
||||
@@ -33,14 +33,14 @@ val <!OI;IMPLICIT_NOTHING_PROPERTY_TYPE!>test2<!> = when {
|
||||
val test2a: () -> Boolean = when {
|
||||
true -> { { true } }
|
||||
else -> when {
|
||||
true -> { <!OI;TYPE_MISMATCH!>{ true }<!> } // TODO
|
||||
true -> { <!TYPE_MISMATCH{OI}!>{ true }<!> } // TODO
|
||||
else -> TODO()
|
||||
}
|
||||
}
|
||||
|
||||
val <!OI;IMPLICIT_NOTHING_PROPERTY_TYPE!>test3<!> = when {
|
||||
true -> { <!OI;TYPE_MISMATCH!>{ true }<!> }
|
||||
true -> { <!OI;TYPE_MISMATCH!>{ true }<!> }
|
||||
val <!IMPLICIT_NOTHING_PROPERTY_TYPE{OI}!>test3<!> = when {
|
||||
true -> { <!TYPE_MISMATCH{OI}!>{ true }<!> }
|
||||
true -> { <!TYPE_MISMATCH{OI}!>{ true }<!> }
|
||||
else -> TODO()
|
||||
}
|
||||
|
||||
@@ -48,4 +48,4 @@ val test3a: () -> Boolean = when {
|
||||
true -> { { true } }
|
||||
true -> { { true } }
|
||||
else -> TODO()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user