Skip to content

bug: call-next-method in :around writer signals an error when replacer replaces cl:null by "null" #80

@fstamour

Description

@fstamour

just fyi, I've found something "interesting" when I accidentally replaced 'cl:null by "null":

(com.inuoe.jzon:stringify
  'cl:null
   :replacer (lambda (k v) (values t "null")))
                                                                 
#|                                                               
Signals the error:

The set of methods
[...]
applicable to arguments #<COM.INUOE.JZON:WRITER {100C31B1F3}>,
"null" to call-next-method is different from the set of methods
[...]
applicable to the original method arguments
#<COM.INUOE.JZON:WRITER {100C31B1F3}>, NULL.
|#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions