JVM IR: do not use origin DEFAULT_IMPLS_BRIDGE(_TO_SYNTHETIC)

Instead, check that origin of the parent class is DEFAULT_IMPLS. Also,
add a separate origin SUPER_INTERFACE_METHOD_BRIDGE for interface
methods with bodies that are copied to classes.
This commit is contained in:
Alexander Udalov
2020-11-19 22:43:40 +01:00
parent d41d1bf64d
commit c7c793c724
7 changed files with 10 additions and 16 deletions
@@ -1,8 +1,7 @@
// !JVM_DEFAULT_MODE: all-compatibility
// JVM_TARGET: 1.8
// WITH_RUNTIME
// IGNORE_BACKEND: JVM_IR
// IR copies annotations to default impls
interface Deprecated {
@java.lang.Deprecated
fun test() {