[JVM] Implement new inlined variable naming format

^KT-65478 fixed
This commit is contained in:
Nikita Nazarov
2023-09-18 16:27:46 +02:00
committed by Alexander Udalov
parent 9ea775cbed
commit 407448d8e3
104 changed files with 88125 additions and 92 deletions
@@ -216,7 +216,9 @@ fun main(args: Array<String>) {
}
testClass<AbstractIrJsLocalVariableTest> {
model("debug/localVariables")
// The tests in the 'inlineScopes' directory are meant to test a JVM backend
// specific feature, so there is no reason to enable them for JS.
model("debug/localVariables", excludeDirs = listOf("inlineScopes"))
}
testClass<AbstractFirPsiJsDiagnosticWithBackendTest>(suiteTestClassName = "FirPsiJsKlibDiagnosticsTestGenerated") {
@@ -22,6 +22,7 @@ import org.jetbrains.kotlin.test.directives.JsEnvironmentConfigurationDirectives
import org.jetbrains.kotlin.test.model.TestModule
import org.jetbrains.kotlin.test.services.TestServices
import org.jetbrains.kotlin.test.services.configuration.JsEnvironmentConfigurator
import org.jetbrains.kotlin.test.services.defaultDirectives
import org.jetbrains.kotlin.test.services.moduleStructure
import org.jetbrains.kotlin.test.utils.*
import java.io.File
@@ -140,7 +141,8 @@ class JsDebugRunner(testServices: TestServices, private val localVariables: Bool
mainModule.frontendKind,
mainModule.targetBackend ?: TargetBackend.JS_IR,
originalFile,
loggedItems
loggedItems,
testServices.defaultDirectives
)
}