Do not skip delegated members in LIGHT_CLASSES mode
This commit is contained in:
+1
-1
@@ -6,5 +6,5 @@ trait D {
|
||||
val x: Int
|
||||
}
|
||||
|
||||
class <!ACCIDENTAL_OVERRIDE!>C(d: D)<!> : D by d, B {
|
||||
class <!CONFLICTING_JVM_DECLARATIONS!>C(d: D)<!> : D by d, B {
|
||||
}
|
||||
+1
-1
@@ -8,5 +8,5 @@ trait Bar<T> {
|
||||
fun foo(l: List<T>)
|
||||
}
|
||||
|
||||
<!CONFLICTING_JVM_DECLARATIONS!>class Baz(f: Foo<String>, b: Bar<Int>)<!>: Foo<String> by f, Bar<Int> by b {
|
||||
class <!CONFLICTING_JVM_DECLARATIONS!>Baz(f: Foo<String>, b: Bar<Int>)<!>: Foo<String> by f, Bar<Int> by b {
|
||||
}
|
||||
+1
-1
@@ -4,6 +4,6 @@ trait Foo<T> {
|
||||
fun foo(l: List<T>)
|
||||
}
|
||||
|
||||
class Bar(f: Foo<String>): Foo<String> by f {
|
||||
class <!CONFLICTING_JVM_DECLARATIONS!>Bar(f: Foo<String>)<!>: Foo<String> by f {
|
||||
<!CONFLICTING_JVM_DECLARATIONS!>fun foo(l: List<Int>)<!> {}
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
trait Foo
|
||||
|
||||
class Bar(f: Foo) : Foo by f {
|
||||
class <!CONFLICTING_JVM_DECLARATIONS!>Bar(f: Foo)<!> : Foo by f {
|
||||
<!CONFLICTING_JVM_DECLARATIONS!>val `$delegate_0`: Foo?<!> = null
|
||||
}
|
||||
Reference in New Issue
Block a user