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

Automated Resyntax fixes #732

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Automated Resyntax fixes #732

wants to merge 3 commits into from

Conversation

resyntax-ci[bot]
Copy link
Contributor

@resyntax-ci resyntax-ci bot commented Mar 30, 2025

Resyntax fixed 20 issues in 2 files.

  • Fixed 17 occurrences of let-to-define
  • Fixed 2 occurrences of cond-let-to-cond-define
  • Fixed 1 occurrence of when-expression-in-for-loop-to-when-keyword

resyntax-ci bot added 3 commits March 30, 2025 00:11
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
Use the `#:when` keyword instead of `when` to reduce loop body indentation.
Internal definitions are recommended instead of `let` expressions, to reduce nesting.
(syntax-position s)
(syntax-span s))])
(make-sloc (loop (syntax-e s)) loc))]
(vector (syntax-source s)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't look right to me @jackfirth

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. I'm pretty sure this is caused by some issues in Resyntax's ability to track identifier uses at phase 1.

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