- Remove pendingIdentifiers and isInParams from constructor - Fix has() method null coalescing bug - Simplify add(), push(), pop() methods - Remove withPendingIdentifiers, withIsInParams, clearPending methods - Simplify hash() to only hash vars and parent (not pending state) - Make pop() return this instead of creating new Scope when no parent This creates a pure, hashable Scope class that only tracks variable scope chain. Temporary state (pending identifiers) will be moved to ScopeContext wrapper in next task. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| compiler | ||
| editor | ||
| parser | ||
| server | ||
| utils | ||
| testSetup.ts | ||