Add ScriptFnMetadata.

This commit is contained in:
Stephen Chung
2020-12-12 18:44:28 +08:00
parent 1087c338bd
commit 26449a9f1c
6 changed files with 57 additions and 29 deletions

View File

@@ -868,6 +868,7 @@ pub fn optimize_into_ast(
lib: None,
#[cfg(not(feature = "no_module"))]
mods: Default::default(),
fn_comments: Default::default(),
})
.for_each(|fn_def| {
lib2.set_script_fn(fn_def);