Fix contract.

First bug caught with new test.  Thanks Robby!
This commit is contained in:
Sam Tobin-Hochstadt 2014-05-08 16:18:08 -04:00
parent 98ae3d8b2d
commit e1ab2ffcf4

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))