Enable KotlinFunInterfaceConstructorReference in LV 1.7

This commit is contained in:
Dmitry Petrov
2022-03-01 15:36:45 +03:00
parent aca2e46e62
commit 8576265108
2 changed files with 2 additions and 2 deletions
@@ -2,4 +2,4 @@ fun interface Test {
fun foo()
}
val f = ::<!FUN_INTERFACE_CONSTRUCTOR_REFERENCE!>Test<!>
val f = ::Test
@@ -241,6 +241,7 @@ enum class LanguageFeature(
NoDeprecationOnDeprecatedEnumEntries(KOTLIN_1_7), // KT-37975
ProhibitQualifiedAccessToUninitializedEnumEntry(KOTLIN_1_7, kind = BUG_FIX), // KT-41124
ForbidRecursiveDelegateExpressions(KOTLIN_1_7, kind = BUG_FIX),
KotlinFunInterfaceConstructorReference(KOTLIN_1_7),
// 1.8
@@ -287,7 +288,6 @@ enum class LanguageFeature(
JsAllowInvalidCharsIdentifiersEscaping(sinceVersion = null, defaultState = State.DISABLED, kind = UNSTABLE_FEATURE),
JsAllowValueClassesInExternals(sinceVersion = null, defaultState = State.DISABLED, kind = UNSTABLE_FEATURE),
ContextReceivers(sinceVersion = null, defaultState = State.DISABLED, kind = UNSTABLE_FEATURE),
KotlinFunInterfaceConstructorReference(sinceVersion = null, defaultState = State.DISABLED, kind = UNSTABLE_FEATURE),
GenericInlineClassParameter(sinceVersion = null, defaultState = State.ENABLED_WITH_WARNING, kind = UNSTABLE_FEATURE),
ValueClasses(sinceVersion = null, defaultState = State.DISABLED, kind = UNSTABLE_FEATURE),
;