Fix type of * with no arguments.

Closes PR 12679.
This commit is contained in:
Vincent St-Amour 2012-04-05 19:18:20 -04:00
parent 3caf0aca23
commit e26201b4f6
2 changed files with 2 additions and 0 deletions

View File

@ -172,6 +172,7 @@
(tc-e (- -23524623547234734568) -PosInt)
(tc-e (- 241.3) -NegFlonum)
(tc-e (- -24.3) -PosFlonum)
(tc-e (*) -One)
(tc-e (gcd 1/2) -PosRat)
(tc-e (gcd 3 1/2) -PosRat)

View File

@ -948,6 +948,7 @@
(->* (list R R) R B))]
[* (from-cases
(-> -One)
(commutative-case -Zero N -Zero)
(map (lambda (t) (commutative-binop -One t))
all-number-types)