K2: Put boolean DFA variables under a feature flag
^KT-62547 Fixed I also tested the commit by disabling DfaBooleanVariables in all tests and checking what tests will fail I didn't find anything that worked in K1, but doesn't work in K2 with DfaBooleanVariables disabled Related tests: - DiagnosticCompilerTestFirTestdataTestGenerated$Resolve$Smartcasts - LLFirPreresolvedReversedDiagnosticCompilerFirTestDataTestGenerated$Resolve$Smartcasts - PreFirIdeSpecTestGenerated$NotLinked$Dfa - DiagnosticCompilerTestFE10TestdataTestGenerated$Tests$SmartCasts - FirPsiDiagnosticTestGenerated$Resolve$Expresssions.testSyntheticSmartCast
This commit is contained in:
@@ -308,6 +308,7 @@ enum class LanguageFeature(
|
||||
ForbidInferringTypeVariablesIntoEmptyIntersection(KOTLIN_2_0, kind = BUG_FIX), // KT-51221
|
||||
ProhibitDefaultArgumentsInExpectActualizedByFakeOverride(KOTLIN_2_0, kind = BUG_FIX), // KT-62036
|
||||
DisableCompatibilityModeForNewInference(KOTLIN_2_0, kind = OTHER), // KT-63558 (umbrella), KT-64306, KT-64307, KT-64308
|
||||
DfaBooleanVariables(KOTLIN_2_0), // KT-25747
|
||||
|
||||
// 2.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user