diff --git a/src/ast/ast.rs b/src/ast/ast.rs index 2adaa205..a0c462ac 100644 --- a/src/ast/ast.rs +++ b/src/ast/ast.rs @@ -75,6 +75,8 @@ impl AST { ) -> Self { Self { source: Identifier::new_const(), + #[cfg(feature = "metadata")] + doc: Vec::new(), body: StmtBlock::new(statements, Position::NONE, Position::NONE), #[cfg(not(feature = "no_function"))] lib: functions.into(),