mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] Drop wrongly added FIR_IDENTICAL and add explicit IGNORE_K2 directive for HighLevelWeigherTestGenerated
GitOrigin-RevId: 8f8a437783d3a989d4970cc9c97dfd1825c352fc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ed251cee2f
commit
494322104e
+1
-1
@@ -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
-1
@@ -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
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user