Skip to content

Conversation

@thomasmarshall
Copy link

This PR fixes a crash when a constant assignment has a missing name:

X:: = 1

In this case Prism will parse this as a constant assignment where the constant path node is missing a name.

It seems like this "missing name" issue crops up in a bunch of different places—I'm wondering if there is a more generalizable solution that will catch all cases?

@amomchilov amomchilov force-pushed the desugar-remaining branch 2 times, most recently from d96acf3 to 7f35d5d Compare December 19, 2025 19:25
@thomasmarshall thomasmarshall force-pushed the fix-assignment-unset-constant branch from 358b0c4 to 2a30fa0 Compare January 7, 2026 12:36
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