Fix missing field.
This commit is contained in:
parent
5d799fd325
commit
148bbcb860
@ -75,6 +75,8 @@ impl AST {
|
|||||||
) -> Self {
|
) -> Self {
|
||||||
Self {
|
Self {
|
||||||
source: Identifier::new_const(),
|
source: Identifier::new_const(),
|
||||||
|
#[cfg(feature = "metadata")]
|
||||||
|
doc: Vec::new(),
|
||||||
body: StmtBlock::new(statements, Position::NONE, Position::NONE),
|
body: StmtBlock::new(statements, Position::NONE, Position::NONE),
|
||||||
#[cfg(not(feature = "no_function"))]
|
#[cfg(not(feature = "no_function"))]
|
||||||
lib: functions.into(),
|
lib: functions.into(),
|
||||||
|
Loading…
Reference in New Issue
Block a user