mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
Insert each mutation as a ref
This commit is contained in:
@@ -1360,7 +1360,8 @@ impl ScopeAnalysis {
|
||||
};
|
||||
|
||||
name.mutations.push(ident.span);
|
||||
self.mutations.insert(ident.span, name_id);
|
||||
self.mutations.insert(ident.span, name_id.clone());
|
||||
self.refs.insert(ident.span, name_id);
|
||||
}
|
||||
|
||||
fn ident(&mut self, scope: &XScope, ident: &swc_ecma_ast::Ident) {
|
||||
|
||||
Reference in New Issue
Block a user