Add tests for obsolete issues
#KT-38092 Obsolete #KT-38179 Obsolete #KT-35105 Obsolete #KT-36696 Obsolete #KT-36947 Obsolete #KT-37337 Obsolete #KT-37309 Obsolete #KT-37727 Obsolete #KT-37735 Obsolete #KT-37853 Obsolete #KT-37920 Obsolete #KT-37709 Obsolete #KT-37706 Obsolete
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
import kotlin.reflect.KClass
|
||||
import kotlin.reflect.KMutableProperty1
|
||||
|
||||
class Testclass {
|
||||
var entry: String = ""
|
||||
|
||||
fun <T : Any> distinct(distinctField: KMutableProperty1<out Any, T>, entryClazz: KClass<T>, vararg filter: String) {
|
||||
return
|
||||
}
|
||||
|
||||
inline fun <reified T : Any> distinct(distinctField: KMutableProperty1<out Any, T>, vararg filter: String) {
|
||||
return distinct(distinctField, T::class, *filter)
|
||||
}
|
||||
|
||||
fun test() {
|
||||
distinct(Testclass::entry, "filter")
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package
|
||||
|
||||
public final class Testclass {
|
||||
public constructor Testclass()
|
||||
public final var entry: kotlin.String
|
||||
public final inline fun </*0*/ reified T : kotlin.Any> distinct(/*0*/ distinctField: kotlin.reflect.KMutableProperty1<out kotlin.Any, T>, /*1*/ vararg filter: kotlin.String /*kotlin.Array<out kotlin.String>*/): kotlin.Unit
|
||||
public final fun </*0*/ T : kotlin.Any> distinct(/*0*/ distinctField: kotlin.reflect.KMutableProperty1<out kotlin.Any, T>, /*1*/ entryClazz: kotlin.reflect.KClass<T>, /*2*/ vararg filter: kotlin.String /*kotlin.Array<out kotlin.String>*/): kotlin.Unit
|
||||
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 final fun test(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
Reference in New Issue
Block a user