Allow null operators for result and using Result as return type with enabled InlineClasses

This commit is contained in:
Dmitriy Novozhilov
2019-12-17 11:21:09 +03:00
parent eed5b3f1d1
commit aa8578b675
18 changed files with 336 additions and 2 deletions
@@ -118,6 +118,8 @@ enum class LanguageFeature(
ProperFinally(KOTLIN_1_4, kind = BUG_FIX),
ProhibitVarargAsArrayAfterSamArgument(KOTLIN_1_4, kind = BUG_FIX),
AllowAssigningArrayElementsToVarargsInNamedFormForFunctions(KOTLIN_1_4),
AllowNullOperatorsForResult(KOTLIN_1_4),
AllowResultInReturnType(KOTLIN_1_4),
ProperVisibilityForCompanionObjectInstanceField(sinceVersion = null, kind = BUG_FIX),
// Temporarily disabled, see KT-27084/KT-22379