On May 6, 2010, at 1:34 PM, Patrick May wrote:
> On May 6, 2010, at 1:27 PM, Ivan Boldyrev wrote:
>> On Fri, May 7, 2010 at 12:25 AM, Patrick May <patrick....@mac.com> wrote:
>>>       How do I make Postmodern interpret nil as db-null rather than boolean?
>> 
>> Use :null, Luke.
> 
>       I tried :initform :null as well, but it gave the error:
> 
> The value :NULL, derived from the initform :NULL, can not be used to set the 
> value of the slot CALL-TIME in #<CALL-REQUEST #x30004266853D>, because it is 
> not of type (OR
>                                                                               
>                                                                               
>                                                         NULL
>                                                                               
>                                                                               
>                                                         
> SIMPLE-DATE:TIMESTAMP). 
>   [Condition of type CCL::BAD-SLOT-TYPE-FROM-INITFORM]

        Removing the :type specifiers from the class definitions eliminates the 
problem.  It would be nice if Postmodern allowed both :type and :col-type to be 
used, though.

Regards,

Patrick

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
postmodern-devel mailing list
postmodern-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel

Reply via email to