From d572a5c73290237f7d5c4f5b9b5b737f69f3100f Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Sat, 2 Sep 2023 23:35:28 -0700 Subject: [PATCH] Well that's a bad mistake. --- src/main/kotlin/gay/pizza/pork/ast/nodes/ImportDeclaration.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/gay/pizza/pork/ast/nodes/ImportDeclaration.kt b/src/main/kotlin/gay/pizza/pork/ast/nodes/ImportDeclaration.kt index f15bccb..152c776 100644 --- a/src/main/kotlin/gay/pizza/pork/ast/nodes/ImportDeclaration.kt +++ b/src/main/kotlin/gay/pizza/pork/ast/nodes/ImportDeclaration.kt @@ -8,7 +8,7 @@ import kotlinx.serialization.Serializable @Serializable @SerialName("importDeclaration") class ImportDeclaration(val path: StringLiteral) : Declaration() { - override val type: NodeType = NodeType.FunctionDeclaration + override val type: NodeType = NodeType.ImportDeclaration override fun visitChildren(visitor: NodeVisitor): List = visitor.visitNodes(path)