Remove externals from ScriptFnDef.

This commit is contained in:
Stephen Chung
2021-11-12 13:02:16 +08:00
parent 7f34e4ad99
commit bffc73435c
3 changed files with 0 additions and 20 deletions

View File

@@ -66,11 +66,6 @@ pub struct ScriptFnDef {
pub access: FnAccess,
/// Names of function parameters.
pub params: StaticVec<Identifier>,
/// Access to external variables.
///
/// Not available under `no_closure`.
#[cfg(not(feature = "no_closure"))]
pub externals: std::collections::BTreeSet<Identifier>,
/// _(metadata)_ Function doc-comments (if any).
/// Exported under the `metadata` feature only.
///