From c23104b2a275e658e3671d247245565bff3fc651 Mon Sep 17 00:00:00 2001 From: overlookmotel <557937+overlookmotel@users.noreply.github.com> Date: Tue, 27 Aug 2024 13:49:44 +0000 Subject: [PATCH] feat(wasm): output symbol IDs in scope tree (#5266) `oxc_wasm` include `SymbolId`s in print-out of scopes. --- crates/oxc_wasm/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxc_wasm/src/lib.rs b/crates/oxc_wasm/src/lib.rs index d3632ccbb..f1dee65a1 100644 --- a/crates/oxc_wasm/src/lib.rs +++ b/crates/oxc_wasm/src/lib.rs @@ -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("}"); }