Streamline ScriptFnDef.

This commit is contained in:
Stephen Chung
2020-11-04 12:34:54 +08:00
parent f75942715d
commit c287a61b93
3 changed files with 20 additions and 9 deletions

View File

@@ -866,7 +866,6 @@ pub fn optimize_into_ast(
params: fn_def.params.clone(),
#[cfg(not(feature = "no_closure"))]
externals: fn_def.externals.clone(),
pos: fn_def.pos,
lib: None,
}
.into()