Fix for KT-13374: CompilationException: Inline function call with anonymous object implementing an interface by delegation

#KT-13374 Fixed
This commit is contained in:
Michael Bogdanov
2016-08-15 14:46:58 +03:00
parent fca5834557
commit 7325baa06a
8 changed files with 57 additions and 7 deletions
@@ -1,5 +1,5 @@
interface Foo
class <!CONFLICTING_JVM_DECLARATIONS!>Bar(f: Foo)<!> : Foo by f {
<!CONFLICTING_JVM_DECLARATIONS!>val `$delegate_0`: Foo?<!> = null
<!CONFLICTING_JVM_DECLARATIONS!>val `$$delegate_0`: Foo?<!> = null
}
@@ -2,7 +2,7 @@ package
public final class Bar : Foo {
public constructor Bar(/*0*/ f: Foo)
public final val `$delegate_0`: Foo? = null
public final val `$$delegate_0`: Foo? = null
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String