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)