Comment 6 for bug 1395242

Revision history for this message
Mark Cox (markcox80) wrote :

Unfortunately there is a problem with the patch I provided when the base type is also grovelled e.g.

    (ctype my-intmax "intmax_t")
    (cenum (my-enum :base-type my-intmax)
        …)

The attached patch fixes this bug and the above issue. It does this by performing the conversion of the grovelled constant to a value of type BASE-TYPE at read time.

Comments welcomed.