Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler bug on recursive function mixing multiple values with single values #690

Open
alejandrozf opened this issue Dec 20, 2024 · 0 comments · May be fixed by #691
Open

Compiler bug on recursive function mixing multiple values with single values #690

alejandrozf opened this issue Dec 20, 2024 · 0 comments · May be fixed by #691

Comments

@alejandrozf
Copy link

alejandrozf commented Dec 20, 2024

Hi, I just wanna put here the issue reported at https://mailman3.common-lisp.net/hyperkitty/list/[email protected]/thread/TZO5ZOTODY5TF47SBNT3UQGN54UT3GNW/

I have simplified it to this function:

Armed Bear Common Lisp 1.9.3-dev
Java 17.0.11 Eclipse Adoptium
OpenJDK 64-Bit Server VM
Low-level initialization completed in 0.177 seconds.
Startup completed in 0.914 seconds.
Loading /home/alejandrozf/.abclrc completed in 1.612 seconds.
Type ":help" for a list of available commands.
CL-USER(1): (defun represent (obj)
  (if (atom obj)
      (values obj :GD!!!)
      (list :array (represent (car obj)))))
REPRESENT
CL-USER(2): (represent '(:a))
(:ARRAY :A)
CL-USER(3): (compile 'represent)
REPRESENT
NIL
NIL
CL-USER(4): (represent '(:a))
:A
:GD!!!
CL-USER(5): 
alejandrozf pushed a commit to alejandrozf/abcl that referenced this issue Dec 21, 2024
@alejandrozf alejandrozf linked a pull request Dec 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant