Introduce FIR_IDENTICAL for FIR vs old frontend tests #KT-36879 Fixed
This commit is contained in:
-12
@@ -1,12 +0,0 @@
|
||||
// FILE: A.java
|
||||
|
||||
public @interface A {
|
||||
int x();
|
||||
|
||||
String y();
|
||||
}
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
@A(x = 1, y = "2")
|
||||
fun test() {}
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// FILE: A.java
|
||||
|
||||
public @interface A {
|
||||
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
interface A {
|
||||
fun foo(a1: Int, a2: Double)
|
||||
}
|
||||
|
||||
interface B {
|
||||
fun foo(b1: Int, b2: String)
|
||||
}
|
||||
|
||||
interface C : A, B {}
|
||||
|
||||
fun test(d: C) {
|
||||
d.foo(a1 = 1, a2 = 1.0)
|
||||
d.foo(b1 = 1, b2 = "")
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
interface A {
|
||||
fun foo(a1: Int, a2: Double)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user