K1: report errors related to SubClassOptInRequired annotation
Related to KT-41886
This commit is contained in:
committed by
teamcity
parent
84291181af
commit
c67c5cad27
@@ -8,7 +8,12 @@ package org.jetbrains.kotlin.resolve.checkers
|
||||
import org.jetbrains.kotlin.descriptors.annotations.KotlinTarget
|
||||
import org.jetbrains.kotlin.name.FqName
|
||||
|
||||
data class OptInDescription(val annotationFqName: FqName, val severity: Severity, val message: String?) {
|
||||
data class OptInDescription(
|
||||
val annotationFqName: FqName,
|
||||
val severity: Severity,
|
||||
val message: String?,
|
||||
val subclassesOnly: Boolean,
|
||||
) {
|
||||
enum class Severity { WARNING, ERROR, FUTURE_ERROR }
|
||||
|
||||
companion object {
|
||||
|
||||
Reference in New Issue
Block a user