Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle top-level patterns a bit better #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dolio
Copy link

@dolio dolio commented Nov 14, 2024

This changes the way that top-level pattern bindings are handled a bit, with two effects.

One, bindings like:

(x, y, z) = ...

will generate separate tags for x, y and z instead of one monolithic tag. I only handled tuples here.

Two, newlines are stripped out, so that code like:

( x,
  y,
  z) = ...

No longer produces invalid tag files. I think this should be the case even if the separators aren't commas, but you won't get the nicer definition behavior above.

Should fix #85.

Makes them generate separate tags for the defined elements of the tuple,
and removes newlines which result in invalid tag files
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.

Invalid tags output
1 participant