[Style] Greg H reported this bug of a define inside of syntax-case, fixed

This commit is contained in:
Matthias Felleisen 2012-12-26 19:58:53 -05:00 committed by Eli Barzilay
parent 3b9dee4a77
commit 4c8cba8104

View File

@ -72,30 +72,6 @@ racket
]
]
@compare[
@racketmod[#:file
@tt{good}
racket
(define-syntax (bump stx)
(syntax-case stx ()
[(_ s sn fn i)
(define g (ff #'sn))
#'( ....)]))
]
@; -----------------------------------------------------------------------------
@racketmod[#:file
@tt{bad}
racket
(define-syntax (bump stx)
(syntax-case stx ()
[(_ s sn fn i)
(let ([g (ff #'sn)])
#'( ....))]))
]
]
@; -----------------------------------------------------------------------------
@section{Conditionals}