Skip to content

Conversation

@Unisay
Copy link
Owner

@Unisay Unisay commented Oct 14, 2025

Add golden test reproducing the scenario from issue #37 where monadic code with nested do-blocks and function composition previously generated invalid Lua code with undefined variable references (Bind11).

The test verifies correct compilation of:

  • Nested monadic do-blocks
  • Bind dictionary threading through local scopes
  • Function composition within array literals

Current compilation generates valid Lua code with properly scoped local variables, suggesting the bug has been fixed. This test serves as a regression guard.

Add golden test reproducing the scenario from issue #37 where
monadic code with nested do-blocks and function composition
previously generated invalid Lua code with undefined variable
references (Bind11).

The test verifies correct compilation of:
- Nested monadic do-blocks
- Bind dictionary threading through local scopes
- Function composition within array literals

Current compilation generates valid Lua code with properly
scoped local variables, suggesting the bug has been fixed.
This test serves as a regression guard.
@Unisay Unisay self-assigned this Oct 14, 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