Revert "Make it possible to enable "non-local break and continue" with -language-version flag"
This reverts commit 96b2f13397.
Unfortunately, in K2, the feature works only in JVM. KT-56466 The
feature is postponed till 2.2 (preview is postponed till 2.1)
KT-1436
This commit is contained in:
@@ -318,7 +318,6 @@ enum class LanguageFeature(
|
||||
ProhibitSingleNamedFunctionAsExpression(KOTLIN_2_1, kind = BUG_FIX), // KT-62573
|
||||
ForbidLambdaParameterWithMissingDependencyType(KOTLIN_2_1, kind = BUG_FIX), // KT-64266
|
||||
JsAllowInvalidCharsIdentifiersEscaping(KOTLIN_2_1, kind = OTHER), // KT-31799
|
||||
BreakContinueInInlineLambdas(KOTLIN_2_1), // KT-1436
|
||||
|
||||
// End of 2.* language features --------------------------------------------------
|
||||
|
||||
@@ -352,6 +351,7 @@ enum class LanguageFeature(
|
||||
|
||||
// Experimental features
|
||||
|
||||
BreakContinueInInlineLambdas(null), // KT-1436
|
||||
LightweightLambdas(null),
|
||||
JsEnableExtensionFunctionInExternals(null, kind = OTHER),
|
||||
PackagePrivateFileClassesWithAllPrivateMembers(null), // Disabled until the breaking change is approved by the committee, see KT-10884.
|
||||
|
||||
Reference in New Issue
Block a user