Introduce FIR_IDENTICAL for FIR vs old frontend tests #KT-36879 Fixed

This commit is contained in:
Mikhail Glukhikh
2020-03-04 17:54:33 +03:00
parent 186e0b0cba
commit 8884cbe415
2268 changed files with 1175 additions and 19754 deletions
@@ -1,4 +0,0 @@
@Suppress("warnings")
val anonymous = object {
fun foo(p: String?? = "" as String) {}
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
@Suppress("warnings")
val anonymous = object {
fun foo(p: String?? = "" as String) {}
@@ -1,6 +0,0 @@
class C {
@Suppress("warnings")
companion object {
val foo: String?? = null as Nothing?
}
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
class C {
@Suppress("warnings")
companion object {
@@ -1,4 +0,0 @@
fun foo() {
@Suppress("warnings")
("" as String??)
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
fun foo() {
@Suppress("warnings")
("" as String??)
@@ -1,7 +0,0 @@
@file:Suppress("warnings")
class C {
companion object {
val foo: String?? = null as Nothing?
}
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
@file:Suppress("warnings")
class C {
@@ -1,4 +0,0 @@
class C {
@Suppress("warnings")
fun foo(p: String??) {}
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
class C {
@Suppress("warnings")
fun foo(p: String??) {}
@@ -1,4 +0,0 @@
@Suppress("warnings")
object C {
fun foo(p: String??) {}
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
@Suppress("warnings")
object C {
fun foo(p: String??) {}
@@ -1,3 +0,0 @@
class C {
fun foo(@Suppress("warnings") p: String?? = "" as String) {}
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
class C {
fun foo(@Suppress("warnings") p: String?? = "" as String) {}
}
@@ -1,4 +0,0 @@
class C {
@Suppress("warnings")
val foo: String?? = null as Nothing?
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
class C {
@Suppress("warnings")
val foo: String?? = null as Nothing?
@@ -1,5 +0,0 @@
class C {
val foo: String?
@Suppress("warnings")
get(): String?? = null as Nothing?
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
class C {
val foo: String?
@Suppress("warnings")