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

.Unique attribute has wrong pool usage #43

Open
zimmski opened this issue Nov 6, 2014 · 0 comments
Open

.Unique attribute has wrong pool usage #43

zimmski opened this issue Nov 6, 2014 · 0 comments
Labels

Comments

@zimmski
Copy link
Owner

zimmski commented Nov 6, 2014

This is maybe the same problem as #42.

Number = +,10([0-9]) "\n"

Numbers = +4(Number)

Unique =  "\tChoose: " $Numbers.Unique "\n"

START = Numbers,
        "Choose 4:\n",
        +4(Unique),
        "And now choose again:\n",
        +4(Unique)

Panics because .Unique makes more choices than there are items in the token Numbers. This should not panic since each .Unique usage should have its own pool.

@zimmski zimmski added the bug label Nov 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant