K1: add a language feature to negate new errors from DiagnosticReporterByTrackingStrategy

Related to KT-55055, KT-55056, KT-55079, KT-57854
This commit is contained in:
Mikhail Glukhikh
2023-04-26 15:21:13 +02:00
committed by Space Team
parent 4188bca9b8
commit 94c94d0605
9 changed files with 115 additions and 11 deletions
@@ -313,6 +313,13 @@ enum class LanguageFeature(
// equality & identity operators in cases where K1 would report warnings or would not report anything.
ReportErrorsForComparisonOperators(sinceVersion = null, kind = BUG_FIX),
// Disabled for indefinite time.
// Disables reporting of new errors (see KT-55055, KT-55056, KT-55079) in DiagnosticReporterByTrackingStrategy.
// All these errors are "lost" errors which existed always, but wasn't reported before 1.9.0.
// When this feature is disabled, all these "lost" errors are reported properly.
// When this feature is enabled, no such errors are reported.
NoAdditionalErrorsInK1DiagnosticReporter(sinceVersion = null, kind = OTHER),
// Experimental features
BreakContinueInInlineLambdas(null), // KT-1436