[chatter] [Bug 7378] New: PPML crash: No applicable method applying token-size to #[#f]

bugzilla-daemon at lovelace.opendylan.org bugzilla-daemon at lovelace.opendylan.org
Wed May 21 12:13:23 CEST 2008


http://www.opendylan.org/cgi-bin/bugzilla/show_bug.cgi?id=7378

           Summary: PPML crash: No applicable method applying token-size to
                    #[#f]
           Product: OpenDylan
           Version: OD 1.0 beta 4
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Compiler/Back End
        AssignedTo: housel at acm.org
        ReportedBy: carlgay at gmail.com
                CC: chatter at lists.opendylan.org


Compiling the macro below in the 1.0 beta 4 IDE produces the error
message "PPML crashed: Error: No applicable* method, applying
token-size to #[#f]" to appear in a console window.

define macro xml-rpc-server-definer
  { define xml-rpc-server ?:name ?url:expression (?options:*) ?functions end ;
}
  =>
  { define constant ?name = apply(make, <xml-rpc-server>, ?options);
    add-responder(?url, curry(respond-to-xml-rpc-request, ?name));
    ?functions ; }

  functions:
    { ?function-name:expression => ?fun:expression; ... }
    =>
    { register-xml-rpc-method(??name, ?function-name, ?fun); ... }
end macro xml-rpc-server-definer;

Changing ??name to ?name prevents the error message from being
displayed.


-- 
Configure bugmail: http://www.opendylan.org/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the chatter mailing list