mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
fix(wasm): set both scope and symbol (#5236)
This commit is contained in:
parent
b39544e0f2
commit
167f7e452d
1 changed files with 2 additions and 1 deletions
|
|
@ -279,7 +279,8 @@ impl Oxc {
|
|||
.semantic;
|
||||
if run_options.scope.unwrap_or_default() {
|
||||
self.scope_text = Self::get_scope_text(&semantic);
|
||||
} else if run_options.symbol.unwrap_or_default() {
|
||||
}
|
||||
if run_options.symbol.unwrap_or_default() {
|
||||
self.symbols = semantic.symbols().serialize(&self.serializer)?;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue