|
From: | Lars Ingebrigtsen |
Subject: | bug#50219: 28.0.50; Provide better errors when trying to specialize on optional args in generic methods |
Date: | Sat, 28 Aug 2021 19:49:11 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes: > The default value part of args in Common lisp arglists is an > *expression*, so (b string) just means that `b` should take the value of > the `string` variable. > > The best I can see (if we keep the CL arglist feature) is to try and see > if that expression looks like a valid CLOS specializer and if so emit > a warning about possible confusion. Yes, that's what I tried to say. :-) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] | Current Thread | [Next in Thread] |