Skip to content

Conversation

@BlobMaster41
Copy link

@BlobMaster41 BlobMaster41 commented Dec 12, 2025

Refactors closure variable capture logic in compiler.ts for clarity and robustness, including more explicit local variable usage and conversion of capturedNames to a Set. Updates prescanNodeForFunctionExpressions to use an iterative approach to avoid stack overflows. Adds a 'closures' feature entry to tests/features.json for testing closure support.

Fixed errors in bootstrap

Refactors closure variable capture logic in compiler.ts for clarity and robustness, including more explicit local variable usage and conversion of capturedNames to a Set. Updates prescanNodeForFunctionExpressions to use an iterative approach to avoid stack overflows. Adds a 'closures' feature entry to tests/features.json for testing closure support.
@BlobMaster41 BlobMaster41 merged commit d534476 into main Dec 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants