robert-strandh / SICL

A fresh implementation of Common Lisp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error in parse-pattern

kpoeck opened this issue · comments

see
https://github.com/robert-strandh/SICL/blob/master/Code/Cleavir/Code-utilities/lambda-lists.lisp#L317
that must be

(error 'malformed-lambda-list-pattern :code nil)

instead of

(error 'malformed-lambda-list-pattern)

otherwise the condition reporter errors while printing the condition in
https://github.com/robert-strandh/SICL/blob/master/Code/Cleavir/Code-utilities/condition-reporters-english.lisp#L294

Reproducible in clasp with

(MACROLET ((%M (())
                   :GOOD))
        (%M NIL))

error in the lambda-list i signaled, but printing the condition errors

Fixed, thanks!