abcl icon indicating copy to clipboard operation
abcl copied to clipboard

Defsetf Lambda-Lists Don't Permit the &environment Parameter

Open Shinmera opened this issue 7 years ago • 1 comments

This is in violation to 3.4.7 which specifically allows the &environment parameter in defsetf lambda-lists.

Test case:

(defsetf foo (&environment env place) (value))
;; => &ENVIRONMENT is only valid at top level of lambda list.

I'm not entirely sure if 3.4.7 requires &environment to come after the places, unlike other lambda-lists where &environment has to be first. In any case, late &environment also fails in the same fashion.

(defsetf foo (place &environment env) (value))
;; => &ENVIRONMENT is only valid at top level of lambda list.

Shinmera avatar May 22 '18 13:05 Shinmera

c.f urn:abcl.org/trac:459 https://abcl.org/trac/ticket/459

EDIT: corrected abcl.org/trac/ticket correspondence. Thanks @Shinmera

easye avatar Aug 28 '18 16:08 easye