Fix typechecking of Single-Flonum-Complex literals.
Closes PR12840. original commit: 442def0b0f87888fe7cb38c40e33df62f3de68e6
This commit is contained in:
parent
4e9783b436
commit
58da9ff90f
|
@ -69,7 +69,8 @@
|
|||
-FloatComplex]
|
||||
[(~var i (3d (conjoin number? (lambda (x) (and (single-flonum? (imag-part x))
|
||||
(single-flonum? (real-part x)))))))
|
||||
-InexactComplex]
|
||||
-SingleFlonumComplex]
|
||||
;; can't have real and imaginary parts that are both inexact, but not the same precision
|
||||
[(~var i (3d number?)) -Number] ; otherwise, Number
|
||||
|
||||
[i:str -String]
|
||||
|
|
Loading…
Reference in New Issue
Block a user