[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

edebug chokes on check-type

From: Daniel Colascione
Subject: edebug chokes on check-type
Date: Wed, 25 Sep 2013 15:32:58 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

This code makes edebug refuse to instrument a function:

(require 'cl)
(defun foo (x) (cl-check-type x cons))

Looking at cl-macs.el, we see that cl-check-type is instrumented as follows:

(declare (debug (place cl-type-spec &optional stringp)))

No wonder edebug dies: it doesn't understand what cl-type-spec is
supposed to be. Neither do I --- where is it supposed to have come from?

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]