Make EXPERIMENTAL_API_USAGE_ERR warning till 1.6 for signature type case

This commit is contained in:
Mikhail Glukhikh
2021-07-26 12:56:04 +03:00
parent 810def829c
commit 84bd347841
23 changed files with 435 additions and 27 deletions
@@ -9,7 +9,7 @@ import org.jetbrains.kotlin.descriptors.annotations.KotlinTarget
import org.jetbrains.kotlin.name.FqName
data class Experimentality(val annotationFqName: FqName, val severity: Severity, val message: String?) {
enum class Severity { WARNING, ERROR }
enum class Severity { WARNING, ERROR, FUTURE_ERROR }
companion object {
val DEFAULT_SEVERITY = Severity.ERROR