Fixed unboxing of let bindings.

original commit: 5892ef2fad2c92346cd2871e25846696f3312185
This commit is contained in:
Vincent St-Amour 2010-07-23 17:44:53 -04:00
parent 5c75aa1793
commit 56fde8109f

View File

@ -62,9 +62,9 @@
(syntax-parse exp
#:literal-sets (kernel-literals)
;; used within a complex arithmetic expression? safe to unbox
;; can be used in a complex arithmetic expr, can be a direct child
[exp:inexact-complex-arith-opt-expr
(direct-child-of? #'exp)]
(andmap rec (syntax->list #'exp))]
;; recur down
[((~and op (~or (~literal #%plain-lambda) (~literal define-values)))