mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
Fix unjustified descriptorToDeclaration in bridge codegen
Delegated and synthesized members don't usually have a declaration as well as fake overrides
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import java.util.Set;
|
||||
|
||||
public class delegationAndInheritanceFromJava {
|
||||
public interface A extends Set<String> {}
|
||||
|
||||
public interface B extends Set<String> {}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import delegationAndInheritanceFromJava.*
|
||||
import java.util.HashSet
|
||||
|
||||
class Impl(b: B): A, B by b
|
||||
|
||||
fun box() = "OK"
|
||||
Reference in New Issue
Block a user