From 4c8cba810471863aec6178360f870ba891a98eae Mon Sep 17 00:00:00 2001 From: Matthias Felleisen Date: Wed, 26 Dec 2012 19:58:53 -0500 Subject: [PATCH] [Style] Greg H reported this bug of a define inside of syntax-case, fixed --- collects/scribblings/style/constructs.scrbl | 24 --------------------- 1 file changed, 24 deletions(-) diff --git a/collects/scribblings/style/constructs.scrbl b/collects/scribblings/style/constructs.scrbl index 8db2848eff..323078e75b 100644 --- a/collects/scribblings/style/constructs.scrbl +++ b/collects/scribblings/style/constructs.scrbl @@ -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}