[kotlin] Drop wrongly added FIR_IDENTICAL and add explicit IGNORE_K2 directive for HighLevelWeigherTestGenerated

GitOrigin-RevId: 8f8a437783d3a989d4970cc9c97dfd1825c352fc
This commit is contained in:
Vladimir Dolzhenko
2023-08-30 11:02:38 +00:00
committed by intellij-monorepo-bot
parent ed251cee2f
commit 494322104e
4 changed files with 4 additions and 5 deletions
@@ -1,9 +1,9 @@
// FIR_IDENTICAL
fun reportError(): Nothing
fun usage(a: Int?): Int {
return a ?: a ?: a ?: re<caret>
}
// IGNORE_K2
// ORDER: reportError
// ORDER: return
@@ -1,4 +1,3 @@
// FIR_IDENTICAL
fun reportError(): Nothing
fun usage(a: Int?): Int {
@@ -8,5 +7,6 @@ fun usage(a: Int?): Int {
}
}
// IGNORE_K2
// ORDER: reportError
// ORDER: return
@@ -1,4 +1,3 @@
// FIR_IDENTICAL
fun reportError(): Nothing
fun usage(a: Int?): Int {
@@ -8,5 +7,6 @@ fun usage(a: Int?): Int {
}
}
// IGNORE_K2
// ORDER: reportError
// ORDER: return
@@ -1,5 +1,3 @@
// FIR_IDENTICAL
interface I {
fun takeXxx(): Int = 0
fun takeYyy(): String = ""
@@ -10,6 +8,7 @@ fun foo(i: I): String {
return i.take<caret>
}
// IGNORE_K2
// ORDER: takeYyy
// ORDER: takeXxx
// ORDER: takeZzz