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

compile-encoder broken in sbcl #58

Open
lambdadog opened this issue Jan 14, 2019 · 0 comments
Open

compile-encoder broken in sbcl #58

lambdadog opened this issue Jan 14, 2019 · 0 comments

Comments

@lambdadog
Copy link

lambdadog commented Jan 14, 2019

This is a weird issue, but in sbcl, compile-encoder is working correctly when run in the repl, but not when it's executed normally as part of a file.

(let ((encode (compile-encoder () (name) `(("name" . name))))) (funcall encode "James"))

When run from the repl it returns "{\"name\":\"James\"}" which is correct, but when it's loaded from a file, it instead returns

`(("name" . "James"))

I'm on sbcl-bin 1.4.15, but I've also tested it on 1.4.13 and the results were the same. The issue doesn't arise in ccl

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

No branches or pull requests

1 participant