Introduce FIR_IDENTICAL for FIR vs old frontend tests #KT-36879 Fixed
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
fun add(a: Int, b: Int) = a + b
|
||||
interface A {
|
||||
fun <T> shuffle(x: List<T>): List<T>
|
||||
fun <T> foo(f : (List<T>) -> List<T>, x : List<T>)
|
||||
|
||||
fun f() : (Int, Int) -> Int = ::add
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
fun add(a: Int, b: Int) = a + b
|
||||
interface A {
|
||||
fun <T> shuffle(x: List<T>): List<T>
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
const val myPi = kotlin.math.PI
|
||||
|
||||
annotation class Anno(val d: Double)
|
||||
|
||||
@Anno(kotlin.math.PI)
|
||||
fun f() {}
|
||||
|
||||
@Anno(myPi)
|
||||
fun g() {}
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
const val myPi = kotlin.math.PI
|
||||
|
||||
annotation class Anno(val d: Double)
|
||||
|
||||
Reference in New Issue
Block a user