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

match syntax error when pattern identifier appears twice with ellipses the second time #2152

Open
gfbee opened this issue Jun 26, 2018 · 1 comment · May be fixed by #2231
Open

match syntax error when pattern identifier appears twice with ellipses the second time #2152

gfbee opened this issue Jun 26, 2018 · 1 comment · May be fixed by #2231

Comments

@gfbee
Copy link

gfbee commented Jun 26, 2018

In a recent pre-release for Racket 7, and in Racket 6.12, minimal example:

(match 0 [`(,t ,t ...) 0])
t10: unbound identifier; also, no #%top syntax transformer is bound in: t10

Removing the ellipses, or using ellipses with both, or putting the ellipses usage first, are all fine.

@lexi-lambda
Copy link
Member

This is related to #1386, which was opened two years ago and is still open. @samth, could you make the relevant change to the documentation to help avoid this confusion?

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.

2 participants