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:
@@ -1,9 +1,9 @@
|
||||
package org.test
|
||||
|
||||
@Deprecated("BinaryWarning", level = DeprecationLevel.WARNING)
|
||||
@Experimental(Experimental.Level.ERROR, [Experimental.Impact.RUNTIME])
|
||||
annotation class BinaryWarning
|
||||
@Deprecated("Warning1", level = DeprecationLevel.WARNING)
|
||||
@Experimental
|
||||
annotation class Warning1
|
||||
|
||||
@Deprecated("SourceWarning", level = DeprecationLevel.WARNING)
|
||||
@Experimental(Experimental.Level.ERROR, [Experimental.Impact.COMPILATION])
|
||||
annotation class SourceWarning
|
||||
@Deprecated("Warning2", level = DeprecationLevel.WARNING)
|
||||
@Experimental
|
||||
annotation class Warning2
|
||||
|
||||
Reference in New Issue
Block a user