Introduce FIR_IDENTICAL for FIR vs old frontend tests #KT-36879 Fixed
This commit is contained in:
-4
@@ -1,4 +0,0 @@
|
||||
@Suppress("warnings")
|
||||
val anonymous = object {
|
||||
fun foo(p: String?? = "" as String) {}
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
@Suppress("warnings")
|
||||
val anonymous = object {
|
||||
fun foo(p: String?? = "" as String) {}
|
||||
|
||||
Vendored
-6
@@ -1,6 +0,0 @@
|
||||
class C {
|
||||
@Suppress("warnings")
|
||||
companion object {
|
||||
val foo: String?? = null as Nothing?
|
||||
}
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
class C {
|
||||
@Suppress("warnings")
|
||||
companion object {
|
||||
|
||||
Vendored
-4
@@ -1,4 +0,0 @@
|
||||
fun foo() {
|
||||
@Suppress("warnings")
|
||||
("" as String??)
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
fun foo() {
|
||||
@Suppress("warnings")
|
||||
("" as String??)
|
||||
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
@file:Suppress("warnings")
|
||||
|
||||
class C {
|
||||
companion object {
|
||||
val foo: String?? = null as Nothing?
|
||||
}
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
@file:Suppress("warnings")
|
||||
|
||||
class C {
|
||||
|
||||
-4
@@ -1,4 +0,0 @@
|
||||
class C {
|
||||
@Suppress("warnings")
|
||||
fun foo(p: String??) {}
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
class C {
|
||||
@Suppress("warnings")
|
||||
fun foo(p: String??) {}
|
||||
|
||||
-4
@@ -1,4 +0,0 @@
|
||||
@Suppress("warnings")
|
||||
object C {
|
||||
fun foo(p: String??) {}
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
@Suppress("warnings")
|
||||
object C {
|
||||
fun foo(p: String??) {}
|
||||
|
||||
Vendored
-3
@@ -1,3 +0,0 @@
|
||||
class C {
|
||||
fun foo(@Suppress("warnings") p: String?? = "" as String) {}
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
class C {
|
||||
fun foo(@Suppress("warnings") p: String?? = "" as String) {}
|
||||
}
|
||||
-4
@@ -1,4 +0,0 @@
|
||||
class C {
|
||||
@Suppress("warnings")
|
||||
val foo: String?? = null as Nothing?
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
class C {
|
||||
@Suppress("warnings")
|
||||
val foo: String?? = null as Nothing?
|
||||
|
||||
Vendored
-5
@@ -1,5 +0,0 @@
|
||||
class C {
|
||||
val foo: String?
|
||||
@Suppress("warnings")
|
||||
get(): String?? = null as Nothing?
|
||||
}
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
class C {
|
||||
val foo: String?
|
||||
@Suppress("warnings")
|
||||
|
||||
Reference in New Issue
Block a user