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

Test Resyntax reviews #134

Closed
wants to merge 1 commit into from
Closed

Test Resyntax reviews #134

wants to merge 1 commit into from

Conversation

jackfirth
Copy link
Owner

No description provided.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Resyntax analyzed 1 file in this pull request and found no issues.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Resyntax analyzed 1 file in this pull request and found no issues.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Resyntax analyzed 1 file in this pull request and found no issues.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Resyntax analyzed 1 file in this pull request and found no issues.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Resyntax analyzed 1 file in this pull request and has added suggestions.

@@ -35,6 +35,7 @@
(member (exn:fail:filesystem:errno-errno exn)
'((2 . posix) (2 . windows)))
#t))
(define y (let ([x 1]) (* x 2)))
Copy link
Contributor

Choose a reason for hiding this comment

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

define-let-to-double-define: This let expression can be pulled up into a define expression.

Suggested change
(define y (let ([x 1]) (* x 2)))
(define x 1)
(define y (* x 2))
Debugging details
Textual replacement
(line-replacement
  #:new-lines '#("    (define x 1)" "    (define y (* x 2))")
  #:original-lines '#("    (define y (let ([x 1]) (* x 2)))")
  #:start-line 38)
Syntactic replacement
(syntax-replacement
  #:introduction-scope #<procedure:do-make-syntax-introducer>
  #:new-syntax
    #<syntax:.../resyntax/base.rkt:171:28 (define (delete file) (define (exn:no-such-file? exn) (and (exn:fail:filesystem:errno? exn) (member (exn:fail:filesystem:errno-errno exn) (quote ((2 . posix) (2 . windows)))) #t)) (define x 1) (define y (* x 2)) (define (log-no-such-file _) (define msg-...>
  #:original-syntax
    #<syntax:disposable/file.rkt:32:2 (define (delete file) (define (exn:no-such-file? exn) (and (exn:fail:filesystem:errno? exn) (member (exn:fail:filesystem:errno-errno exn) (quote ((2 . posix) (2 . windows)))) #t)) (define y (let ((x 1)) (* x 2))) (define (log-no-such-file _) (define msg...>
  #:source
    (file-source
     #<path:/home/runner/work/racket-disposable/racket-disposable/disposable/file.rkt>))

@jackfirth
Copy link
Owner Author

SHE LIVES

@jackfirth jackfirth closed this Sep 19, 2024
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