You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(cleavir-cst-to-ast:cst-to-ast (cst:cst-from-expression '(let ((&rest 42)) &rest)) nil nil) signals a malformed-lambda-list error. This is because convert-let essentially rewrites the form as ((lambda (&rest) &rest) 42), which is invalid.
As far as I'm aware, binding lexical variables with names in lambda-list-keywords is legal. Eclector does it, which is how this was noticed.
The text was updated successfully, but these errors were encountered:
As discussed in #clasp,
(cleavir-cst-to-ast:cst-to-ast (cst:cst-from-expression '(let ((&rest 42)) &rest)) nil nil)
signals amalformed-lambda-list
error. This is becauseconvert-let
essentially rewrites the form as((lambda (&rest) &rest) 42)
, which is invalid.As far as I'm aware, binding lexical variables with names in
lambda-list-keywords
is legal. Eclector does it, which is how this was noticed.The text was updated successfully, but these errors were encountered: