Revert "Revert "fix a bug in f669c47c1""

This reverts commit 2e29a18039.

Reverted the wrong commit.
This commit is contained in:
Vincent St-Amour 2014-09-29 15:41:51 -04:00
parent 2e29a18039
commit e5fd7e504d

View File

@ -564,7 +564,7 @@
(raise-listof-blame-error blame val (pe-listof-ctc? ctc) #f)))]))) (raise-listof-blame-error blame val (pe-listof-ctc? ctc) #f)))])))
(define (listof-val-first-projection ctc) (define (listof-val-first-projection ctc)
(define elem-proj (contract-val-first-projection (listof-ctc-elem-c ctc))) (define elem-proj (get/build-val-first-projection (listof-ctc-elem-c ctc)))
(define pred? (if (pe-listof-ctc? ctc) (define pred? (if (pe-listof-ctc? ctc)
list? list?
non-empty-list?)) non-empty-list?))