Introduce FIR_IDENTICAL for FIR vs old frontend tests #KT-36879 Fixed
This commit is contained in:
-16
@@ -1,16 +0,0 @@
|
||||
// FILE: Super.java
|
||||
|
||||
interface Super {
|
||||
void foo(long superName);
|
||||
}
|
||||
|
||||
// FILE: Sub.java
|
||||
|
||||
interface Sub extends Super {
|
||||
}
|
||||
|
||||
// FILE: SubSub.kt
|
||||
|
||||
class SubSub : Sub {
|
||||
override fun foo(subName: Long) {}
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// FILE: Super.java
|
||||
|
||||
interface Super {
|
||||
|
||||
-51
@@ -1,51 +0,0 @@
|
||||
// FILE: KSuper.kt
|
||||
|
||||
interface KSuper {
|
||||
fun foo(ksuperName: Int)
|
||||
}
|
||||
|
||||
// FILE: JSuper1.java
|
||||
|
||||
interface JSuper1 {
|
||||
void foo(int jsuper1Name);
|
||||
}
|
||||
|
||||
// FILE: JSuper2.java
|
||||
|
||||
interface JSuper2 {
|
||||
void foo(int jsuper2Name);
|
||||
}
|
||||
|
||||
|
||||
// FILE: Sub1.java
|
||||
interface Sub1 extends KSuper, JSuper1, JSuper2 {
|
||||
@Override
|
||||
void foo(int sub1Name);
|
||||
}
|
||||
|
||||
// FILE: Sub2.java
|
||||
interface Sub2 extends JSuper1, KSuper, JSuper2 {
|
||||
@Override
|
||||
void foo(int sub2Name);
|
||||
}
|
||||
|
||||
// FILE: Sub3.java
|
||||
interface Sub3 extends JSuper1, JSuper2, KSuper {
|
||||
@Override
|
||||
void foo(int sub3Name);
|
||||
}
|
||||
|
||||
|
||||
// FILE: SubSub.kt
|
||||
|
||||
class SubSub1 : Sub1 {
|
||||
override fun foo(ksuperName: Int) {}
|
||||
}
|
||||
|
||||
class SubSub2 : Sub2 {
|
||||
override fun foo(ksuperName: Int) {}
|
||||
}
|
||||
|
||||
class SubSub3 : Sub3 {
|
||||
override fun foo(ksuperName: Int) {}
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// FILE: KSuper.kt
|
||||
|
||||
interface KSuper {
|
||||
|
||||
-18
@@ -1,18 +0,0 @@
|
||||
// FILE: JavaInterface.java
|
||||
|
||||
public interface JavaInterface {
|
||||
void foo(int javaName);
|
||||
}
|
||||
|
||||
// FILE: kotlin.kt
|
||||
|
||||
class SimpleSubclass : JavaInterface {
|
||||
override fun foo(kotlinName: Int) {}
|
||||
}
|
||||
|
||||
|
||||
interface SubtraitWithFakeOverride : JavaInterface
|
||||
|
||||
class Subclass : SubtraitWithFakeOverride {
|
||||
override fun foo(otherKotlinName: Int) {}
|
||||
}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// FILE: JavaInterface.java
|
||||
|
||||
public interface JavaInterface {
|
||||
|
||||
Reference in New Issue
Block a user