Minor, add test for obsolete issue

#KT-12843 Obsolete
This commit is contained in:
Alexander Udalov
2016-08-08 15:42:52 +03:00
parent 6ff91d1399
commit de68d96236
3 changed files with 24 additions and 0 deletions
@@ -0,0 +1,6 @@
class Foo {
fun bar() {}
fun f() = <!UNRESOLVED_REFERENCE!>Unresolved<!>()::bar
}
val f: () -> Unit = <!UNRESOLVED_REFERENCE!>Unresolved<!>()::<!UNRESOLVED_REFERENCE!>foo<!>
@@ -0,0 +1,12 @@
package
public val f: () -> kotlin.Unit
public final class Foo {
public constructor Foo()
public final fun bar(): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final fun f(): kotlin.reflect.KFunction0<kotlin.Unit>
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}