Closes PR14589.

original commit: bacbafad9fa223c0ae4ae1bdc8a748b4f54369ce
This commit is contained in:
J. Ian Johnson 2014-06-20 13:09:13 -04:00 committed by Vincent St-Amour
parent 9052bb40a2
commit 55f68caac5
2 changed files with 5 additions and 1 deletions

View File

@ -20,7 +20,7 @@
((v.ann-name ...) seq-expr)))
#:with (expand* ...) (list (quasisyntax/loc #'c
((v.ann-name ...) seq-expr))
#'#:when #'#t))
#'#:when #''#t))
;; Note: #:break and #:final clauses don't ever typecheck
(pattern (~seq (~and kw (~or #:when #:unless #:break #:final)) guard:expr)
#:with (expand ...) (list #'kw #'guard)

View File

@ -76,3 +76,7 @@
(for/hash: : (HashTable Symbol Symbol)
((v : Symbol '(a b c)))
(values v v))
(for/hash: : (HashTable Symbol Symbol)
([(k b) (in-hash (make-immutable-hash '((a . a) (b . b))))])
(values k b))