You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Use global interner for resolve_string to fix cross-arena resolution
The AstArena had a mismatch between intern_string (which returns symbols
from the global interner) and resolve_string (which tried to resolve
from the local interner). This caused incorrect string resolution when
multiple arenas existed, as symbol indices from different interners
don't match.
Fixed by changing resolve_string to use the global interner via
resolve_global(), leaking the string to provide a stable &str reference.
Added tests:
- test_cross_arena_resolution: verifies symbols work across arenas
- test_sequential_arena_builds: validates stdlib test pattern
0 commit comments