Fix contract.

First bug caught with new test.  Thanks Robby!

original commit: e1ab2ffcf4f22327345b90c4d3a633bcb815e74b
This commit is contained in:
Sam Tobin-Hochstadt 2014-05-08 16:18:08 -04:00
parent 1e707d1b68
commit 880ba74bc7

View File

@ -360,7 +360,7 @@
(Type/c Type/c . -> . (or/c #f cset?))
(cgen V X Y S T))
(define/cond-contract (cg/inv S T)
(Type/c Type/c . -> . cset?)
(Type/c Type/c . -> . (or/c #f cset?))
(cgen/inv V X Y S T))
;; this places no constraints on any variables in X
(define empty (empty-cset X Y))