Turn off BooleanElvisBoundSmartCasts in 1.3
See KT-26357
This commit is contained in:
committed by
Ilya Gorbunov
parent
3607ed85ab
commit
4929f457ed
@@ -57,7 +57,6 @@ enum class LanguageFeature(
|
||||
ExpectedTypeFromCast(KOTLIN_1_2),
|
||||
DefaultMethodsCallFromJava6TargetError(KOTLIN_1_2),
|
||||
|
||||
BooleanElvisBoundSmartCasts(KOTLIN_1_3),
|
||||
RestrictionOfValReassignmentViaBackingField(KOTLIN_1_3, kind = BUG_FIX),
|
||||
NestedClassesInEnumEntryShouldBeInner(KOTLIN_1_3, kind = BUG_FIX),
|
||||
ProhibitDataClassesOverridingCopy(KOTLIN_1_3, kind = BUG_FIX),
|
||||
@@ -104,6 +103,8 @@ enum class LanguageFeature(
|
||||
MultiPlatformProjects(sinceVersion = null, defaultState = State.DISABLED),
|
||||
|
||||
NewInference(sinceVersion = KOTLIN_1_3, defaultState = State.DISABLED),
|
||||
// This feature can be enabled only along with new inference, see KT-26357 for details
|
||||
BooleanElvisBoundSmartCasts(sinceVersion = KOTLIN_1_3, defaultState = State.DISABLED),
|
||||
|
||||
SamConversionForKotlinFunctions(sinceVersion = KOTLIN_1_3, defaultState = State.DISABLED),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user