[FIR] Don't lose error level enhancements in warning-level-enhanced arguments
The error-level enhancement is kept as warning-level and a new LanguageFeature is introduced to turn the warning into an error. #KT-63208 Fixed #KT-63209
This commit is contained in:
committed by
Space Team
parent
9189154cae
commit
371b1eb3d5
+2
@@ -56,10 +56,12 @@ object JVM_DIAGNOSTICS_LIST : DiagnosticList("FirJvmErrors") {
|
||||
val RECEIVER_NULLABILITY_MISMATCH_BASED_ON_JAVA_ANNOTATIONS by warning<PsiElement> {
|
||||
parameter<ConeKotlinType>("actualType")
|
||||
parameter<ConeKotlinType>("expectedType")
|
||||
parameter<String>("messageSuffix")
|
||||
}
|
||||
val NULLABILITY_MISMATCH_BASED_ON_JAVA_ANNOTATIONS by warning<PsiElement> {
|
||||
parameter<ConeKotlinType>("actualType")
|
||||
parameter<ConeKotlinType>("expectedType")
|
||||
parameter<String>("messageSuffix")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user