cs: add conversion to exn:fail:contract:non-fixnum-result
This commit is contained in:
parent
77e362b27c
commit
a97b3739a3
|
@ -19,6 +19,9 @@
|
||||||
(#%memq (condition-who v) '(expt atan2))
|
(#%memq (condition-who v) '(expt atan2))
|
||||||
(string=? "undefined for values ~s and ~s" (condition-message v)))
|
(string=? "undefined for values ~s and ~s" (condition-message v)))
|
||||||
exn:fail:contract:divide-by-zero]
|
exn:fail:contract:divide-by-zero]
|
||||||
|
[(and (format-condition? v)
|
||||||
|
(string-prefix? "fixnum overflow" (condition-message v)))
|
||||||
|
exn:fail:contract:non-fixnum-result]
|
||||||
[(and (format-condition? v)
|
[(and (format-condition? v)
|
||||||
(or (string=? "attempt to reference undefined variable ~s" (condition-message v))
|
(or (string=? "attempt to reference undefined variable ~s" (condition-message v))
|
||||||
(string=? "attempt to assign undefined variable ~s" (condition-message v))))
|
(string=? "attempt to assign undefined variable ~s" (condition-message v))))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user