PR 9852
svn: r12076
This commit is contained in:
parent
b173fb073e
commit
122f8d41dc
|
@ -1463,6 +1463,7 @@ improve method arity mismatch contract violation error messages?
|
|||
(λ (x)
|
||||
(and (number? x)
|
||||
(integer? x)
|
||||
(exact? x)
|
||||
(x . >= . 0)))))
|
||||
|
||||
(define (integer-in start end)
|
||||
|
|
|
@ -4534,6 +4534,7 @@ so that propagation occurs.
|
|||
(test-flat-contract '(real-in 1 10) 3/2 20)
|
||||
(test-flat-contract '(string-len/c 3) "ab" "abc")
|
||||
(test-flat-contract 'natural-number/c 5 -1)
|
||||
(test-flat-contract 'natural-number/c #e3 #i3.0)
|
||||
(test-flat-contract 'false/c #f #t)
|
||||
|
||||
(test-flat-contract #t #t "x")
|
||||
|
|
Loading…
Reference in New Issue
Block a user