Disallow PropertyMetadataImpl in conventions for delegated properties

This commit is contained in:
Evgeny Gerashchenko
2015-02-19 16:14:37 +03:00
parent 056daeaadb
commit af7eba64f7
6 changed files with 28 additions and 5 deletions
@@ -0,0 +1,5 @@
val a: Int by <!DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE!>A()<!>
class A {
fun get(t: Any?, p: PropertyMetadataImpl): Int = 1
}
@@ -0,0 +1,11 @@
package
internal val a: kotlin.Int
internal final class A {
public constructor A()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
internal final fun get(/*0*/ t: kotlin.Any?, /*1*/ p: kotlin.PropertyMetadataImpl): kotlin.Int
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}