GNU bug report logs - #30990
Should the byte compiler warn about :type mismatches?

Previous Next

Package: emacs;

Reported by: Alex Branham <alex.branham <at> gmail.com>

Date: Thu, 29 Mar 2018 16:56:02 UTC

Severity: wishlist

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: Mattias EngdegÄrd <mattiase <at> acm.org>
Cc: alex.branham <at> gmail.com, 30990 <at> debbugs.gnu.org, Stefan Kangas <stefan <at> marxist.se>, Lars Ingebrigtsen <larsi <at> gnus.org>, Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#30990: Should the byte compiler warn about :type mismatches?
Date: Fri, 11 Oct 2019 11:31:41 +0200
>>>>> On Wed, 9 Oct 2019 20:44:04 +0200, Mattias EngdegÄrd <mattiase <at> acm.org> said:

    >> - :type 'string
    >> + :type '(choice (string :tag "Regexp")
    >> +                (const :tag "Not Set" nil))

    Mattias> Perhaps the type `regexp' would be better than `string' here?

Yes, it would. Fixed.

Robert




This bug report was last modified 4 years and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.