mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
feat(wasm): output symbol IDs in scope tree (#5266)
`oxc_wasm` include `SymbolId`s in print-out of scopes.
This commit is contained in:
parent
6a49dc36b2
commit
c23104b2a2
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ impl Oxc {
|
|||
self.write_line("Bindings: {");
|
||||
bindings.iter().for_each(|(name, &symbol_id)| {
|
||||
let symbol_flags = self.semantic.symbols().get_flags(symbol_id);
|
||||
self.write_line(format!(" {name} ({symbol_flags:?})",));
|
||||
self.write_line(format!(" {name} ({symbol_id:?} {symbol_flags:?})",));
|
||||
});
|
||||
self.write_line("}");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue