mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
fix(ast_lower): remove wrong usage of SymbolFlags::Function (#680)
closes #678 SymbolFlags::Function means something else (the whole function declaration stored as a anonymous symbol) in TypeScript
This commit is contained in:
parent
4fa6aafa3e
commit
b466de522b
1 changed files with 0 additions and 1 deletions
|
|
@ -1439,7 +1439,6 @@ impl<'a> AstLower<'a> {
|
|||
} else {
|
||||
(SymbolFlags::empty(), SymbolFlags::empty())
|
||||
};
|
||||
let includes = includes | SymbolFlags::Function;
|
||||
let id =
|
||||
func.id.as_ref().map(|ident| self.lower_binding_identifier(ident, includes, excludes));
|
||||
self.enter_function_scope();
|
||||
|
|
|
|||
Loading…
Reference in a new issue