Drop Experimental.Impact, simplify related code and tests
See https://github.com/Kotlin/KEEP/issues/95#issuecomment-383889404 Drop Experimental.changesMayBreak, Experimental.Impact, the concept of signature/body usage, same module exemption. Make the majority of tests single-module because there is now no difference in the checker between usages from the same module or from another module
This commit is contained in:
+32
@@ -0,0 +1,32 @@
|
||||
package
|
||||
|
||||
package api {
|
||||
@api.API public fun f(): kotlin.Unit
|
||||
|
||||
@kotlin.Experimental(level = Level.WARNING) public final annotation class API : kotlin.Annotation {
|
||||
public constructor API()
|
||||
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
|
||||
}
|
||||
}
|
||||
|
||||
package usage {
|
||||
public var inlineUse2: kotlin.Unit
|
||||
public var inlineUse3: kotlin.Unit
|
||||
private var privateInline3: kotlin.Unit
|
||||
public val use2: kotlin.Unit
|
||||
public inline fun inlineUse1(): kotlin.Unit
|
||||
@api.API public inline fun inlineUse4(): kotlin.Unit
|
||||
private inline fun privateInline1(): kotlin.Unit
|
||||
internal inline fun privateInline2(): kotlin.Unit
|
||||
public fun use1(): kotlin.Unit
|
||||
|
||||
internal final class InternalClass {
|
||||
public constructor InternalClass()
|
||||
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 inline fun privateInline4(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user