Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#1218 closed defect (fixed)

coerce and deftyped complex types.

Reported by: stassats Owned by:
Priority: normal Milestone:
Component: other Version: trunk
Keywords: Cc:


(deftype x () '(complex double-float)) (coerce 1 'x) => 1

while (coerce 1 '(complex double-float)) => #C(1.0D0 0.0D0)

(coerce #c(1 2) 'x) => The value #C(1 2) is not of the expected type REAL.

While (coerce #c(1 2) '(complex double-float)) => #C(1.0D0 2.0D0)

Change History (2)

comment:1 Changed 7 years ago by gb

  • Resolution set to fixed
  • Status changed from new to closed

(In [16171]) Canonicalize the type specifier when calling COERCE-TO-COMPLEX. Fixes ticket:1218 in the trunk.

comment:2 Changed 7 years ago by rme

merged to 1.10 release branch in r16172

Note: See TracTickets for help on using tickets.