JVM_IR KT-42137 bridges are not generated for fake overrides

This commit is contained in:
Dmitry Petrov
2020-11-20 10:51:50 +03:00
parent 5d5473ef08
commit e59c8e0a5c
14 changed files with 116 additions and 2 deletions
+32
View File
@@ -0,0 +1,32 @@
@kotlin.Metadata
public interface A {
// source: 'kt42137.kt'
public abstract method getValue(): java.lang.Object
}
@kotlin.Metadata
public interface B {
// source: 'kt42137.kt'
}
@kotlin.Metadata
public class C {
// source: 'kt42137.kt'
private final @org.jetbrains.annotations.NotNull field value: java.lang.String
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public synthetic bridge method getValue(): java.lang.Object
public @org.jetbrains.annotations.NotNull method getValue(): java.lang.String
}
@kotlin.Metadata
public interface X {
// source: 'kt42137.kt'
public abstract @org.jetbrains.annotations.NotNull method getValue(): java.lang.CharSequence
}
@kotlin.Metadata
public final class Y {
// source: 'kt42137.kt'
public method <init>(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
public synthetic bridge method getValue(): java.lang.CharSequence
}