Add test requiring filters on AnyValues.

This commit is contained in:
Eric Dobson 2014-05-29 21:37:15 -07:00
parent 2f39323b8c
commit bb25a2332c

View File

@ -3025,6 +3025,18 @@
#:ret (ret Univ)] #:ret (ret Univ)]
[tc-e (stx->list #'(a . b)) [tc-e (stx->list #'(a . b))
#:ret (ret (t:Un (-lst (-Syntax Univ)) (-val #f)))] #:ret (ret (t:Un (-lst (-Syntax Univ)) (-val #f)))]
[tc-e/t
(lambda (x)
(define (g y)
(unless (string? y)
(error 'bad-input))
(eval y))
(g x)
x)
(t:-> Univ -String
: (-FS (-and (-filter -String '(0 0)) (-not-filter (-val #f) '(0 0))) -bot)
: (make-Path null '(0 0)))]
) )
(test-suite (test-suite