Skip to content

Commit

Permalink
Bug fix for box evaluation.
Browse files Browse the repository at this point in the history
  • Loading branch information
emina committed Feb 12, 2016
1 parent 67fa3a6 commit 035b949
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rosette/query/eval.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
(cons (eval-rec x sol cache) (eval-rec y sol cache))]
[(? vector?)
(for/vector #:length (vector-length expr) ([e expr]) (eval-rec e sol cache))]
[(? box?)
((if (immutable? expr) box-immutable box) (eval-rec (unbox expr) sol cache))]
[(union vs)
(let loop ([vs vs] [out '()])
(if (null? vs)
Expand Down

0 comments on commit 035b949

Please sign in to comment.