Fixed some tests to reflect changes to the optimizer.

This commit is contained in:
Vincent St-Amour 2010-07-01 14:48:55 -04:00
parent 351de3f767
commit 25cb5ef568
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
(module invalid-binary-nonzero-fixnum typed/scheme
(: f ( -> Void))
(define (f) ; in a function, to prevent evaluation
(display (quotient 4 0)))) ; 2 fixnums, but the second is 0, cannot optimize
(define f ; in a function, to prevent evaluation
(#%plain-lambda () (display (quotient 4 0))))) ; 2 fixnums, but the second is 0, cannot optimize

View File

@ -1,2 +1,2 @@
(module exact-inexact typed/scheme
(exact->inexact 1.0)) ; not a integer, can't optimize
1.0) ; not a integer, can't optimize