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:
Vendored
+1
-2
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user