Bug report: Regression, immediately invoked function expressions

Robert Munyer 2433647181 at munyer.com
Wed Sep 30 00:56:46 UTC 2020


The function below works in CCL, CLISP, SBCL and ABCL 1.4.0,
but not in ABCL 1.7.1.

$ java -jar abcl-1.7.1.jar
Armed Bear Common Lisp 1.7.1
Java 1.8.0_265 Oracle Corporation
OpenJDK 64-Bit Server VM
Low-level initialization completed in 0.188 seconds.
Startup completed in 0.869 seconds.
Type ":help" for a list of available commands.
CL-USER(1): (defun add3 (foo)
              ((lambda (bar)
                 ((lambda (baz)
                    (1+ baz))
                  (1+ bar)))
               (1+ foo)))
#<THREAD "interpreter" {32B46F86}>: Debugger invoked on condition of type TYPE-ERROR
  The value (LAMBDA (BAZ) (1+ BAZ)) is not of type SYMBOL.
Restarts:
  0: TOP-LEVEL Return to top level.
[1] CL-USER(2):



More information about the armedbear-devel mailing list