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
|
||||
(cond
|
||||
[first-order?
|
||||
(or get-late-neg-projection
|
||||
(λ (c)
|
||||
(late-neg-first-order-projection (get-name c) (get-first-order c))))]
|
||||
(cond
|
||||
[get-late-neg-projection get-late-neg-projection]
|
||||
[(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])
|
||||
list-contract?))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user