Remove NonStrictOnlyInputTypesChecks LF and introduce opposite – StrictOnlyInputTypesChecks, set default as strict

This commit is contained in:
Victor Petukhov
2021-03-26 15:24:34 +03:00
parent b60056f11e
commit cc1cb463b2
45 changed files with 36 additions and 51 deletions
@@ -148,6 +148,7 @@ enum class LanguageFeature(
JvmIrEnabledByDefault(KOTLIN_1_5),
// Disabled until the breaking change is approved by the committee, see KT-10884.
PackagePrivateFileClassesWithAllPrivateMembers(KOTLIN_1_5, defaultState = State.DISABLED),
StrictOnlyInputTypesChecks(sinceVersion = KOTLIN_1_5),
/*
* Improvements include the following:
@@ -185,7 +186,6 @@ enum class LanguageFeature(
SamConversionForKotlinFunctions(sinceVersion = KOTLIN_1_4),
SamConversionPerArgument(sinceVersion = KOTLIN_1_4),
FunctionReferenceWithDefaultValueAsOtherType(sinceVersion = KOTLIN_1_4),
NonStrictOnlyInputTypesChecks(sinceVersion = KOTLIN_1_4),
SuspendConversion(sinceVersion = KOTLIN_1_4, defaultState = State.DISABLED),
UnitConversion(sinceVersion = KOTLIN_1_4, defaultState = State.DISABLED),
OverloadResolutionByLambdaReturnType(sinceVersion = KOTLIN_1_4),