[K/JS] Enable identifiers escaping by default in 2.1 version ^KT-31799 Fixed

This commit is contained in:
Artem Kobzar
2023-12-20 16:39:19 +00:00
committed by Space Team
parent e41a1247e2
commit eb790732fd
3 changed files with 3 additions and 1 deletions
@@ -1,3 +1,4 @@
// !LANGUAGE: -JsAllowInvalidCharsIdentifiersEscaping
// FIR_IDENTICAL
private fun ` .private `(): String = TODO("")
@@ -1,3 +1,4 @@
// !LANGUAGE: -JsAllowInvalidCharsIdentifiersEscaping
// FIR_IDENTICAL
// FILE: slashes.kt
package a.<!INVALID_CHARACTERS!>`//`<!>.b.<!INVALID_CHARACTERS!>`/`<!>.c
@@ -308,6 +308,7 @@ enum class LanguageFeature(
MangleCallsToJavaMethodsWithValueClasses(KOTLIN_2_0, kind = OTHER), // KT-55945
ForbidInferringTypeVariablesIntoEmptyIntersection(KOTLIN_2_0, kind = BUG_FIX), // KT-51221
ProhibitDefaultArgumentsInExpectActualizedByFakeOverride(KOTLIN_2_0, kind = BUG_FIX), // KT-62036
JsAllowInvalidCharsIdentifiersEscaping(sinceVersion = KOTLIN_2_1, kind = OTHER), // KT-31799
// 2.1
@@ -362,7 +363,6 @@ enum class LanguageFeature(
ProhibitAllMultipleDefaultsInheritedFromSupertypes(sinceVersion = null, kind = BUG_FIX),
ExplicitBackingFields(sinceVersion = null, kind = UNSTABLE_FEATURE),
FunctionalTypeWithExtensionAsSupertype(sinceVersion = null),
JsAllowInvalidCharsIdentifiersEscaping(sinceVersion = null, kind = UNSTABLE_FEATURE),
JsAllowValueClassesInExternals(sinceVersion = null, kind = OTHER),
ContextReceivers(sinceVersion = null),
ValueClasses(sinceVersion = null, kind = UNSTABLE_FEATURE),