Skip to content

Conversation

antonsviridov-src
Copy link
Contributor

@antonsviridov-src antonsviridov-src commented Jul 2, 2025

Pointed out by external contributor.

Previous logic would result in a runtime crash if the package declaration clause ended with a semicolon.

The solution is to properly identify what package declaration nodes there can be. I added two distinct tests for this case.

Test plan

  • new tests

@antonsviridov-src antonsviridov-src merged commit bdb6897 into main Jul 2, 2025
9 checks passed
@antonsviridov-src antonsviridov-src deleted the AS/fix-semicolon-in-package-names branch July 2, 2025 11:44
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.

1 participant