unbreak the creation of first-order contracts that
don't supply a val-first projection
This commit is contained in:
parent
f5d5277ae7
commit
a952f11bc5
|
@ -281,9 +281,11 @@
|
||||||
get-val-first-projection
|
get-val-first-projection
|
||||||
(cond
|
(cond
|
||||||
[first-order?
|
[first-order?
|
||||||
(or get-late-neg-projection
|
(cond
|
||||||
(λ (c)
|
[get-late-neg-projection get-late-neg-projection]
|
||||||
(late-neg-first-order-projection (get-name c) (get-first-order c))))]
|
[(and (not get-projection) (not get-val-first-projection))
|
||||||
|
(λ (c) (late-neg-first-order-projection (get-name c) (get-first-order c)))]
|
||||||
|
[else #f])]
|
||||||
[else get-late-neg-projection])
|
[else get-late-neg-projection])
|
||||||
list-contract?))
|
list-contract?))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user