[Gd-chatter] r11639 - trunk/libraries/packetizer

hannes at gwydiondylan.org hannes at gwydiondylan.org
Sat Jan 19 00:06:33 CET 2008


Author: hannes
Date: Sat Jan 19 00:06:32 2008
New Revision: 11639

Modified:
   trunk/libraries/packetizer/protocol-definer-macro.dylan
Log:
Bug: 7299
length computation of abstract protocols was broken... it always needs to
defer to the actual instances, they have a different length

Modified: trunk/libraries/packetizer/protocol-definer-macro.dylan
==============================================================================
--- trunk/libraries/packetizer/protocol-definer-macro.dylan	(original)
+++ trunk/libraries/packetizer/protocol-definer-macro.dylan	Sat Jan 19 00:06:32 2008
@@ -118,6 +118,8 @@
       define inline method field-size (frame :: subclass(?name)) => (res :: <number>)
         if (find-method(container-frame-size, list(?name)))
           $unknown-at-compile-time;
+        elseif (?#"attrs" == #"abstract")
+          $unknown-at-compile-time;
         else
           static-end(last("$" ## ?name ## "-fields"));
         end;



More information about the chatter mailing list