K2: implement BUILDER_INFERENCE_MULTI_LAMBDA_RESTRICTION

#KT-59390 Fixed
This commit is contained in:
Mikhail Glukhikh
2023-11-29 08:09:41 +01:00
committed by Space Team
parent 299d279915
commit 526bc1744a
25 changed files with 219 additions and 23 deletions
@@ -871,6 +871,7 @@ object FirErrors {
// Builder inference
val BUILDER_INFERENCE_STUB_RECEIVER by error2<PsiElement, Name, Name>()
val BUILDER_INFERENCE_MULTI_LAMBDA_RESTRICTION by error2<PsiElement, Name, Name>()
init {
RootDiagnosticRendererFactory.registerFactory(FirErrorsDefaultMessages)
@@ -572,6 +572,7 @@ val FIR_NON_SUPPRESSIBLE_ERROR_NAMES: Set<String> = setOf(
"PRE_RELEASE_CLASS",
"IR_WITH_UNSTABLE_ABI_COMPILED_CLASS",
"BUILDER_INFERENCE_STUB_RECEIVER",
"BUILDER_INFERENCE_MULTI_LAMBDA_RESTRICTION",
"OVERRIDE_CANNOT_BE_STATIC",
"JVM_STATIC_NOT_IN_OBJECT_OR_CLASS_COMPANION",
"JVM_STATIC_NOT_IN_OBJECT_OR_COMPANION",