[JS BE] Drop JS scripting support
JS scripting uses the old IR to JS transformer. The new IR to JS transformer can not be used for JS scripting out of the box. Patching the new transformer for JS scripting is potentially dangerous and requires a lot of effort. Dropping JS scripting and the old IR to JS transformer allows to refactor and simplify JS BE codebase.
This commit is contained in:
committed by
Space Team
parent
d75bbc49e7
commit
d5e9e87538
@@ -7,7 +7,6 @@ plugins {
|
||||
dependencies {
|
||||
testApi(kotlinStdlib("jdk8"))
|
||||
testApi(project(":kotlin-scripting-compiler"))
|
||||
testApi(project(":kotlin-scripting-compiler-js"))
|
||||
testApi(project(":core:descriptors"))
|
||||
testApi(project(":core:descriptors.jvm"))
|
||||
testApi(project(":core:deserialization"))
|
||||
|
||||
@@ -22,7 +22,6 @@ import org.jetbrains.kotlin.ir.util.*
|
||||
import org.jetbrains.kotlin.name.ClassId
|
||||
import org.jetbrains.kotlin.name.FqName
|
||||
import org.jetbrains.kotlin.psi2ir.generators.DeclarationStubGeneratorImpl
|
||||
import org.jetbrains.kotlin.scripting.js.loadScriptConfiguration
|
||||
import org.jetbrains.kotlin.test.KotlinTestUtils
|
||||
import org.jetbrains.kotlin.test.testFramework.KtUsefulTestCase
|
||||
import org.jetbrains.kotlin.test.util.JUnit4Assertions
|
||||
@@ -88,7 +87,6 @@ abstract class AbstractIrTextTestCase : AbstractIrGeneratorTestCase() {
|
||||
|
||||
override fun configureTestSpecific(configuration: CompilerConfiguration, testFiles: List<TestFile>) {
|
||||
if (testFiles.any { it.name.endsWith(".kts") }) {
|
||||
loadScriptConfiguration(configuration)
|
||||
loadPluginsForTests(configuration)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user