Drop unnecessary suppress from stdlib
^KT-62785 Fixed Review: https://jetbrains.team/p/kt/reviews/12858/files
This commit is contained in:
@@ -10,10 +10,6 @@ package kotlin.reflect
|
||||
*
|
||||
* @param R return type of the callable.
|
||||
*/
|
||||
@Suppress(
|
||||
"ACTUAL_CLASSIFIER_MUST_HAVE_THE_SAME_SUPERTYPES_AS_NON_FINAL_EXPECT_CLASSIFIER_WARNING",
|
||||
"ACTUAL_CLASSIFIER_MUST_HAVE_THE_SAME_MEMBERS_AS_NON_FINAL_EXPECT_CLASSIFIER_WARNING"
|
||||
) // Can be dropped after bootstrap update
|
||||
public actual interface KCallable<out R> : KAnnotatedElement {
|
||||
/**
|
||||
* The name of this callable as it was declared in the source code.
|
||||
@@ -29,6 +25,5 @@ public actual interface KCallable<out R> : KAnnotatedElement {
|
||||
/**
|
||||
* The type of values returned by this callable.
|
||||
*/
|
||||
@Suppress("NON_ACTUAL_MEMBER_DECLARED_IN_EXPECT_NON_FINAL_CLASSIFIER_ACTUALIZATION_WARNING") // Can be dropped after bootstrap update
|
||||
public val returnType: KType
|
||||
}
|
||||
|
||||
@@ -13,7 +13,6 @@ package kotlin.reflect
|
||||
*
|
||||
* @param T the type of the class.
|
||||
*/
|
||||
@Suppress("ACTUAL_CLASSIFIER_MUST_HAVE_THE_SAME_SUPERTYPES_AS_NON_FINAL_EXPECT_CLASSIFIER_WARNING") // Can be dropped after bootstrap update
|
||||
public actual interface KClass<T : Any> : KDeclarationContainer, KAnnotatedElement, KClassifier {
|
||||
/**
|
||||
* The simple name of the class as it was declared in the source code,
|
||||
|
||||
Reference in New Issue
Block a user