From 8dba302b8123339889418d130c03bb2af4d0f464 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 30 Aug 2015 10:58:38 +0100 Subject: [PATCH] src/class-utilities.lisp: Compare C types with the right function. There's something weird with the caching, I think. But this way leaves a better taste anyway. --- src/class-utilities.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/class-utilities.lisp b/src/class-utilities.lisp index aa4ef17..5a74bcb 100644 --- a/src/class-utilities.lisp +++ b/src/class-utilities.lisp @@ -160,7 +160,8 @@ (and (= (length message-args) (length method-args)) (every (lambda (message-arg method-arg) (if (eq message-arg :ellipsis) - (eq method-arg (c-type va-list)) + (c-type-equal-p (argument-type method-arg) + (c-type va-list)) (c-type-equal-p (argument-type message-arg) (argument-type method-arg)))) message-args method-args))) -- 2.11.0