chiark / gitweb /
src/: Argument lists don't only contain `argument' objects.
[sod] / src / class-make-impl.lisp
index 28c1958ef81741eee965e5d3c8d8927a363b328a..32b2e61e22df7930e1a9b8cd35b4c416108fd3f7 100644 (file)
@@ -214,7 +214,8 @@ (defmethod shared-initialize :after
   (with-slots (body type) method
     (unless (or (not body)
                (every (lambda (arg)
-                        (or (argument-name arg)
+                        (or (eq arg :ellipsis)
+                            (argument-name arg)
                             (eq (argument-type arg) (c-type void))))
                       (c-function-arguments type)))
       (error "Abstract declarators not permitted in method definitions")))