diff --git a/partiql-lang/src/main/kotlin/org/partiql/lang/ast/StaticTypeMeta.kt b/partiql-lang/src/main/kotlin/org/partiql/lang/ast/StaticTypeMeta.kt deleted file mode 100644 index 94f649a179..0000000000 --- a/partiql-lang/src/main/kotlin/org/partiql/lang/ast/StaticTypeMeta.kt +++ /dev/null @@ -1,20 +0,0 @@ -package org.partiql.lang.ast - -import org.partiql.types.StaticType - -/** - * Represents a static type for an AST element. - * - * Note: The (de)serialization based on ISL mappers does not work as expected but does not break anything since no one uses it today. - * TODO: issue to track fixing the (de)serialization https://github.com/partiql/partiql-lang-kotlin/issues/512 - */ -data class StaticTypeMeta(val type: StaticType) : Meta { - - override fun toString() = type.toString() - - override val tag = TAG - - companion object { - const val TAG = "\$static_type" - } -} diff --git a/partiql-lang/src/main/kotlin/org/partiql/lang/eval/Thunk.kt b/partiql-lang/src/main/kotlin/org/partiql/lang/eval/Thunk.kt index 3b489a7d5d..5187f30204 100644 --- a/partiql-lang/src/main/kotlin/org/partiql/lang/eval/Thunk.kt +++ b/partiql-lang/src/main/kotlin/org/partiql/lang/eval/Thunk.kt @@ -19,7 +19,6 @@ import org.partiql.errors.ErrorBehaviorInPermissiveMode import org.partiql.errors.ErrorCode import org.partiql.errors.Property import org.partiql.lang.ast.SourceLocationMeta -import org.partiql.lang.ast.StaticTypeMeta import org.partiql.lang.domains.staticType import org.partiql.lang.types.StaticTypeUtils.isInstance diff --git a/partiql-lang/src/main/kotlin/org/partiql/lang/eval/ThunkAsync.kt b/partiql-lang/src/main/kotlin/org/partiql/lang/eval/ThunkAsync.kt index c314eb68aa..e40014f719 100644 --- a/partiql-lang/src/main/kotlin/org/partiql/lang/eval/ThunkAsync.kt +++ b/partiql-lang/src/main/kotlin/org/partiql/lang/eval/ThunkAsync.kt @@ -21,7 +21,6 @@ import org.partiql.errors.ErrorBehaviorInPermissiveMode import org.partiql.errors.ErrorCode import org.partiql.errors.Property import org.partiql.lang.ast.SourceLocationMeta -import org.partiql.lang.ast.StaticTypeMeta import org.partiql.lang.domains.staticType import org.partiql.lang.types.StaticTypeUtils.isInstance