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

step 7: Test `([~a]). #398

Closed
wants to merge 1 commit into from
Closed

Conversation

bjh21
Copy link
Contributor

@bjh21 bjh21 commented Jun 4, 2019

I haven't been following #384 very carefully, but I think while @asarhaddon added a workaround in 2dfe777 for guile's problems with expressions like `([~a]), there wasn't any talk of testing for or fixing the bug. So here's a test for it.

I think the test is correct based on the guide's specification of quasiquote, and at least the perl and python implementations agree with me.

Implementations that would need to be fixed to deploy this test:

  • common-lisp
  • elisp
  • guile
  • scheme
    (plpgsql failure is unrelated)

Unquote inside a vector inside a list inside quasiquote breaks some
implementations, which return ([(unquote a)]) for the above instead of
((8)) (when a is defined to be 8).

Bug spotted by Nicolas Boulenguez <nicolas.boulenguez@free.fr> in
kanaka@2dfe777
@asarhaddon
Copy link
Contributor

I have prepared a bunch of regression tests, but we should agree on the intended behaviour before adding tests. See the discussion at the end of #103.

@asarhaddon
Copy link
Contributor

This change is now part of PR #401.

@asarhaddon
Copy link
Contributor

Now that PR #401 is merged, I suggest to close this one.

@kanaka
Copy link
Owner

kanaka commented Aug 20, 2020

Agreed. Closed.

@kanaka kanaka closed this Aug 20, 2020
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 this pull request may close these issues.

3 participants