diff --git a/src/compiler.pr b/src/compiler.pr index b9bfaab0..53f08a15 100644 --- a/src/compiler.pr +++ b/src/compiler.pr @@ -4677,7 +4677,7 @@ export def walk_expression(node: &parser::Node, state: &State) -> Value { case parser::NodeKind::STRUCT_LIT: expr = walk_StructLit(node, state) case parser::NodeKind::ARRAY_STATIC_T, parser::NodeKind::PTR_T, parser::NodeKind::WEAK_REF_T, - parser::NodeKind::REF_T, parser::NodeKind::ARRAY_T, parser::NodeKind::FUNCTION_T: + parser::NodeKind::REF_T, parser::NodeKind::ARRAY_T, parser::NodeKind::FUNCTION_T, parser::NodeKind::CLOSURE_T: expr = walk_Type(node, state) case parser::NodeKind::TYPE_OF_T: expr = walk_TypeOfT(node, state)