Skip to content

Conversation

@jg-rp
Copy link
Owner

@jg-rp jg-rp commented Mar 18, 2025

This PR improves error messages related to unbalanced brackets.

Previously we were inspecting Lexer.bracket_stack before looking for error tokens, which give more accurate line and column numbers.

@jg-rp jg-rp merged commit 7a2bad6 into main Mar 18, 2025
40 checks passed
@jg-rp jg-rp deleted the improve-unbalanced-brackets branch March 18, 2025 13:15
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