-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
There was a problem hiding this 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.
09fcee7
to
7d18cb4
Compare
There was a problem hiding this 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.
There was a problem hiding this 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.
7d18cb4
to
924d522
Compare
There was a problem hiding this 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.
There was a problem hiding this 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))) |
There was a problem hiding this comment.
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.
(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>))
SHE LIVES |
No description provided.