Refine type of current-inexact-milliseconds.
Thanks to Alex Knauth for the report.
This commit is contained in:
parent
d93b387150
commit
ef35d21a31
|
@ -2829,7 +2829,7 @@
|
|||
(-Integer Univ . -> . -Date))]
|
||||
[current-seconds (-> -Integer)]
|
||||
[current-milliseconds (-> -Fixnum)]
|
||||
[current-inexact-milliseconds (-> -Real)]
|
||||
[current-inexact-milliseconds (-> -Flonum)]
|
||||
[current-gc-milliseconds (-> -Fixnum)]
|
||||
[current-process-milliseconds
|
||||
(->opt [(Un (-val #f) (-val 'subprocesses) -Thread)] -Fixnum)]
|
||||
|
|
|
@ -1815,6 +1815,7 @@
|
|||
(make-Evt -String))
|
||||
(tc-e (sync (replace-evt always-evt (lambda (x) 3)))
|
||||
(-mu x (make-Evt x)))
|
||||
(tc-e (current-inexact-milliseconds) -Flonum)
|
||||
(tc-e (sync (replace-evt always-evt (lambda (x)
|
||||
(alarm-evt (+ (current-inexact-milliseconds) 1000)))))
|
||||
(-mu x (make-Evt x)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user