Skip to content

Commit

Permalink
Revert "[K/JS] Create JavaScript Simple Object plugin that helps crea…
Browse files Browse the repository at this point in the history
…te typed JS objects"
  • Loading branch information
JSMonk authored and Space Team committed Jan 12, 2024
1 parent e7af58d commit d0bff42
Show file tree
Hide file tree
Showing 46 changed files with 2 additions and 1,841 deletions.
2 changes: 0 additions & 2 deletions .space/CODEOWNERS
Validating CODEOWNERS rules …
Expand Up @@ -376,8 +376,6 @@
/plugins/kapt3/kapt3-compiler/tests-gen/ "Kotlin Compiler Core" "Kotlin JVM"
/plugins/kapt4/ "Kotlin JVM"
/plugins/kotlinx-serialization/ Sergey.Shanshin Leonid.Startsev
/plugins/jso/ "Kotlin JS"
/libraries/tools/jso "Kotlin JS"
/plugins/lombok/ "Kotlin Compiler Core"
/plugins/noarg/ "Kotlin Compiler Core"
/plugins/parcelize/ "Kotlin Compiler Core"
Expand Down
1 change: 0 additions & 1 deletion build.gradle.kts
Expand Up @@ -874,7 +874,6 @@ tasks {
dependsOn(":plugins:fir-plugin-prototype:fir-plugin-ic-test:test")
dependsOn(":kotlin-imports-dumper-compiler-plugin:test")
dependsOn(":plugins:jvm-abi-gen:test")
dependsOn(":plugins:jso:compiler-plugin:test")
dependsOn(":kotlinx-serialization-compiler-plugin:test")
dependsOn(":kotlin-lombok-compiler-plugin:test")
dependsOn(":kotlin-noarg-compiler-plugin:test")
Expand Down
Expand Up @@ -14,7 +14,6 @@ import org.jetbrains.kotlin.backend.common.lower.inline.LocalClassesInInlineFunc
import org.jetbrains.kotlin.backend.common.lower.inline.LocalClassesInInlineLambdasLowering
import org.jetbrains.kotlin.backend.common.lower.loops.ForLoopsLowering
import org.jetbrains.kotlin.backend.common.phaser.*
import org.jetbrains.kotlin.config.CommonConfigurationKeys
import org.jetbrains.kotlin.ir.backend.js.lower.*
import org.jetbrains.kotlin.ir.backend.js.lower.calls.CallsLowering
import org.jetbrains.kotlin.ir.backend.js.lower.cleanup.CleanupLowering
Expand Down
Expand Up @@ -148,10 +148,7 @@ class IrElementToJsExpressionTransformer : BaseIrElementToJsNodeTransformer<JsEx
assert(obj.kind == ClassKind.OBJECT)
assert(obj.isEffectivelyExternal()) { "Non external IrGetObjectValue must be lowered" }

return when {
obj.isCompanion && obj.parentAsClass.let { it.isInterface && it.isExternal } -> JsNullLiteral()
else -> context.getRefForExternalClass(obj).withSource(expression, context)
}
return context.getRefForExternalClass(obj).withSource(expression, context)
}

override fun visitSetField(expression: IrSetField, context: JsGenerationContext): JsExpression {
Expand Down
18 changes: 0 additions & 18 deletions libraries/tools/jso/build.gradle.kts

This file was deleted.

This file was deleted.

This file was deleted.

19 changes: 0 additions & 19 deletions plugins/jso/compiler-plugin-embeddable/build.gradle.kts

This file was deleted.

88 changes: 0 additions & 88 deletions plugins/jso/compiler-plugin/build.gradle.kts

This file was deleted.

25 changes: 0 additions & 25 deletions plugins/jso/compiler-plugin/jso.backend/build.gradle.kts

This file was deleted.

This file was deleted.

31 changes: 0 additions & 31 deletions plugins/jso/compiler-plugin/jso.cli/build.gradle.kts

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit d0bff42

Please sign in to comment.