Fix broken tests that depended on an unsafe optimization.
original commit: 14097dd90e787c08a138fa5e907680f6af96aea3
This commit is contained in:
parent
ae11f47dbd
commit
73decd8674
|
@ -1,4 +1,4 @@
|
|||
#lang typed/scheme
|
||||
#:optimize
|
||||
(require racket/unsafe/ops)
|
||||
(quotient (vector-length '#(1 2 3)) 2)
|
||||
(modulo (vector-length '#(1 2 3)) 2)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#lang typed/scheme
|
||||
#:optimize
|
||||
(require racket/unsafe/ops racket/flonum)
|
||||
(+ (quotient 1 1) 2.0)
|
||||
(+ (modulo 1 1) 2.0)
|
||||
(+ (expt 100 100) 2.0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user