Put the type inference on calls with self types under the compiler flag

This commit is contained in:
Victor Petukhov
2021-07-06 13:56:28 +03:00
parent 51c5a54e31
commit 3787099a38
30 changed files with 365 additions and 50 deletions
@@ -213,6 +213,7 @@ enum class LanguageFeature(
ClassTypeParameterAnnotations(KOTLIN_1_6),
SafeCallsAreAlwaysNullable(KOTLIN_1_6),
ProhibitSimplificationOfNonTrivialConstBooleanExpressions(KOTLIN_1_6),
TypeInferenceOnCallsWithSelfTypes(KOTLIN_1_6),
// Temporarily disabled, see KT-27084/KT-22379
SoundSmartcastFromLoopConditionForLoopAssignedVariables(sinceVersion = null, kind = BUG_FIX),