Hi, On Sat 20 Aug 2011 21:28, David Pirotte <[email protected]> writes:
> The attached code speaks for itself It does, but it takes me time to parse it. If possible I prefer a format of giving short examples inline with a mail message, saying what you expect should happen, then saying what actually happens. Just saying :) > shouldn't we get an error on both of these attempts? > > 1] the slot exists but no :init-keyword was defined; > 2] the slot does not exists. That is not how things have worked in the past. The algorithm goes, "for each slot definition, initialize it." It doesn't go, "for each keyword-argument pair, see what slot corresponds to it, and error otherwise". I think we would need some deeper CLOS / GOOPS insight here to change this. Andy -- http://wingolog.org/
