Add tests for obsolete issues
#KT-28001 Obsolete #KT-30236 Obsolete
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
import kotlin.reflect.KProperty0
|
||||
import kotlin.reflect.KProperty1
|
||||
|
||||
fun <R> property(property: KProperty0<R>): Int = 1
|
||||
fun <T, R> property(property: KProperty1<T, R>): String = ""
|
||||
|
||||
val subject = ""
|
||||
|
||||
class O {
|
||||
val subject = ""
|
||||
}
|
||||
|
||||
val someProperty0 = property(::subject)
|
||||
val someProperty1 = property(O::subject)
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
package
|
||||
|
||||
public val someProperty0: kotlin.Int
|
||||
public val someProperty1: kotlin.String
|
||||
public val subject: kotlin.String = ""
|
||||
public fun </*0*/ R> property(/*0*/ property: kotlin.reflect.KProperty0<R>): kotlin.Int
|
||||
public fun </*0*/ T, /*1*/ R> property(/*0*/ property: kotlin.reflect.KProperty1<T, R>): kotlin.String
|
||||
|
||||
public final class O {
|
||||
public constructor O()
|
||||
public final val subject: kotlin.String = ""
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user