Skip to content

Fix parser indentation handling for strings#30

Merged
erjiang merged 1 commit intomasterfrom
codex/find-and-fix-bug-in-codebase
May 30, 2025
Merged

Fix parser indentation handling for strings#30
erjiang merged 1 commit intomasterfrom
codex/find-and-fix-bug-in-codebase

Conversation

@erjiang
Copy link
Copy Markdown
Owner

@erjiang erjiang commented May 30, 2025

Summary

  • avoid counting parentheses inside strings when computing indentation
  • test Parser.calculateIndentation for string case

Testing

  • npm test

@erjiang erjiang merged commit 76f557b into master May 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant