Skip to content

Commit 802b2a9

Browse files
mohsen1claude
andcommitted
Add module resolution debugging infrastructure
- Add new module_resolution_debug.rs with ModuleResolutionDebugger - Track symbol declaration and merge events with file origins - Add flags_to_string helper for readable symbol flag output - Log symbol table merge operations during binding - Add set_debug_file and get_debug_summary methods to ThinBinderState - Enable debug logging via global set_debug_enabled flag Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 67e3191 commit 802b2a9

3 files changed

Lines changed: 463 additions & 0 deletions

File tree

wasm/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ pub mod thin_binder;
3737
#[cfg(test)]
3838
mod thin_binder_tests;
3939

40+
// Module Resolution Debugging - Logging for symbol table operations and scope lookups
41+
pub mod module_resolution_debug;
42+
4043
// Lib Loader - Load and merge lib.d.ts symbols into the binder (BIND-10)
4144
pub mod lib_loader;
4245

0 commit comments

Comments
 (0)