]> asedeno.scripts.mit.edu Git - cl-protobufs.git/commitdiff
When extending, find extended message by type rather than unqualified name
authorAlejandro R Sedeño <asedeno@google.com>
Sun, 16 Dec 2012 23:01:45 +0000 (18:01 -0500)
committerAlejandro R Sedeño <asedeno@google.com>
Mon, 17 Dec 2012 19:32:43 +0000 (14:32 -0500)
define-proto.lisp

index 6ac39fcda7c341404b234a6bac7906e46147b392..000ae6bfc97d01b2d3f7e0060afb19f674803daa 100644 (file)
                         collect (make-instance 'protobuf-option
                                   :name  (if (symbolp key) (slot-name->proto key) key)
                                   :value val)))
-         (message   (find-message *protobuf* name))
+         (message   (find-message *protobuf* type))
          (conc-name (or (conc-name-for-type type conc-name)
                         (and message (proto-conc-name message))))
          (alias-for (and message (proto-alias-for message)))