K1: don't report assignment TYPE_MISMATCH in BI under feature ON

Related to KT-54004
This commit is contained in:
Mikhail Glukhikh
2022-10-22 11:58:47 +02:00
committed by Space Team
parent 6c6d653e85
commit 8e48636b29
12 changed files with 255 additions and 0 deletions
@@ -295,6 +295,10 @@ enum class LanguageFeature(
ApproximateIntegerLiteralTypesInReceiverPosition(sinceVersion = null),
// Disabled for indefinite time. Disables restrictions of builder inference without annotation
// Note: In 1.7.0, builder inference without annotation was introduced.
// However, later we encountered various situations when it works incorrectly, and decided to forbid them.
// When this feature is disabled, various errors are reported which are related to these incorrect situations.
// When this feature is enabled, no such errors are reported.
NoBuilderInferenceWithoutAnnotationRestriction(sinceVersion = null, kind = OTHER, defaultState = State.DISABLED),
// Experimental features