feat(wasm): output symbol IDs in scope tree (#5266)

`oxc_wasm` include `SymbolId`s in print-out of scopes.
This commit is contained in:
overlookmotel 2024-08-27 13:49:44 +00:00
parent 6a49dc36b2
commit c23104b2a2

View file

@ -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("}");
}