Files
kotlin-fork/compiler/testData/cli/jvm/experimentalDeprecated.kt
T
Alexander Udalov 4f53a54115 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
2018-05-04 13:48:24 +02:00

18 lines
395 B
Kotlin
Vendored

package org.test
@Deprecated("Error1", level = DeprecationLevel.ERROR)
@Experimental
annotation class Error1
@Deprecated("Error2", level = DeprecationLevel.ERROR)
@Experimental
annotation class Error2
@Deprecated("Hidden1", level = DeprecationLevel.HIDDEN)
@Experimental
annotation class Hidden1
@Deprecated("Hidden2", level = DeprecationLevel.HIDDEN)
@Experimental
annotation class Hidden2