Fixed some tests to reflect changes to the optimizer.
This commit is contained in:
parent
351de3f767
commit
25cb5ef568
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user