diff --git a/collects/syntax/private/stxparse/rep.ss b/collects/syntax/private/stxparse/rep.ss index d192ebf6b2..b7d821ff0a 100644 --- a/collects/syntax/private/stxparse/rep.ss +++ b/collects/syntax/private/stxparse/rep.ss @@ -751,7 +751,7 @@ [(cons (list '#:fail-unless fu-stx unless-condition expr) rest) (cons (make clause:fail #`(not #,unless-condition) expr) (parse-pattern-sides rest decls))] - [(cons (list '#:when unless-condition) rest) + [(cons (list '#:when w-stx unless-condition) rest) ;; Bleh: when is basically fail-unless without the msg argument (cons (make clause:fail #`(not #,unless-condition) #'#f) (parse-pattern-sides rest decls))]