Make OPT_IN_USAGE_ERROR an error in FIR
This commit is contained in:
committed by
TeamCityServer
parent
056f74a23b
commit
4052befe88
+1
-1
@@ -276,7 +276,7 @@ object DIAGNOSTICS_LIST : DiagnosticList("FirErrors") {
|
||||
parameter<FqName>("optInMarkerFqName")
|
||||
parameter<String>("message")
|
||||
}
|
||||
val OPT_IN_USAGE_ERROR by warning<PsiElement>(PositioningStrategy.REFERENCE_BY_QUALIFIED) {
|
||||
val OPT_IN_USAGE_ERROR by error<PsiElement>(PositioningStrategy.REFERENCE_BY_QUALIFIED) {
|
||||
parameter<FqName>("optInMarkerFqName")
|
||||
parameter<String>("message")
|
||||
}
|
||||
|
||||
+1
-1
@@ -241,7 +241,7 @@ object FirErrors {
|
||||
|
||||
// OptIn
|
||||
val OPT_IN_USAGE by warning2<PsiElement, FqName, String>(SourceElementPositioningStrategies.REFERENCE_BY_QUALIFIED)
|
||||
val OPT_IN_USAGE_ERROR by warning2<PsiElement, FqName, String>(SourceElementPositioningStrategies.REFERENCE_BY_QUALIFIED)
|
||||
val OPT_IN_USAGE_ERROR by error2<PsiElement, FqName, String>(SourceElementPositioningStrategies.REFERENCE_BY_QUALIFIED)
|
||||
val OPT_IN_OVERRIDE by warning2<PsiElement, FqName, String>()
|
||||
val OPT_IN_OVERRIDE_ERROR by error2<PsiElement, FqName, String>()
|
||||
val OPT_IN_IS_NOT_ENABLED by warning0<KtAnnotationEntry>(SourceElementPositioningStrategies.REFERENCED_NAME_BY_QUALIFIED)
|
||||
|
||||
Reference in New Issue
Block a user