Temporary: make PRE_RELEASE_CLASS a warning in both K1/K2 (KT-66551)
This commit is contained in:
committed by
Space Team
parent
93a796b635
commit
a0cb713d19
+1
-1
@@ -1805,7 +1805,7 @@ object DIAGNOSTICS_LIST : DiagnosticList("FirErrors") {
|
||||
parameter<String>("presentableString")
|
||||
parameter<IncompatibleVersionErrorData<*>>("incompatibility")
|
||||
}
|
||||
val PRE_RELEASE_CLASS by error<PsiElement> {
|
||||
val PRE_RELEASE_CLASS by warning<PsiElement> {
|
||||
parameter<String>("presentableString")
|
||||
}
|
||||
val IR_WITH_UNSTABLE_ABI_COMPILED_CLASS by error<PsiElement> {
|
||||
|
||||
+1
-1
@@ -895,7 +895,7 @@ object FirErrors {
|
||||
|
||||
// Compatibility issues
|
||||
val INCOMPATIBLE_CLASS: KtDiagnosticFactory2<String, IncompatibleVersionErrorData<*>> by error2<PsiElement, String, IncompatibleVersionErrorData<*>>()
|
||||
val PRE_RELEASE_CLASS: KtDiagnosticFactory1<String> by error1<PsiElement, String>()
|
||||
val PRE_RELEASE_CLASS: KtDiagnosticFactory1<String> by warning1<PsiElement, String>()
|
||||
val IR_WITH_UNSTABLE_ABI_COMPILED_CLASS: KtDiagnosticFactory1<String> by error1<PsiElement, String>()
|
||||
|
||||
// Builder inference
|
||||
|
||||
-1
@@ -578,7 +578,6 @@ val FIR_NON_SUPPRESSIBLE_ERROR_NAMES: Set<String> = setOf(
|
||||
"MIXING_FUNCTIONAL_KINDS_IN_SUPERTYPES",
|
||||
"MULTIPLE_LABELS_ARE_FORBIDDEN",
|
||||
"INCOMPATIBLE_CLASS",
|
||||
"PRE_RELEASE_CLASS",
|
||||
"IR_WITH_UNSTABLE_ABI_COMPILED_CLASS",
|
||||
"BUILDER_INFERENCE_STUB_RECEIVER",
|
||||
"BUILDER_INFERENCE_MULTI_LAMBDA_RESTRICTION",
|
||||
|
||||
Reference in New Issue
Block a user