Menu ▾ ▴

#756 Feature Request: Add REDEFINITION-WARNING class

open
nobody
None
7
2026-11-01
2026-11-01
No

It would be nice if there was a class for redefinition warnings in clisp. I do a lot of testing of ASDF with CLISP, and some of my tests create a flood of redefinition warnings. I imagine I could muffle these in a handler that matches the warning string, but it would be a lot easier if I could just check the type of the warning.
Hoping this change would provide a reasonable cost/benefit ratio -- i.e., not require too much work
Thanks,
R

Discussion

  • Bruno Haible

    Bruno Haible - 2026-11-01

    What kinds of things cause the redefinition warnings in your case? Packages, constants, variables, functions, generic functions, methods?

    Also, are you aware of custom:*suppress-similar-constant-redefinition-warning* ?

     
  • Robert P. Goldman

    I'm getting them from tests where ASDF upgrades itself. These are not constant redefinitions (or not primarily, anyway): primarily they are function and method redefinitions, as a new version of ASDF replaces an old one. In this case, I would like to be able to throw these away, because they clog the output, and they are to be expected.

     

Log in to post a comment.