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

Parse |, ||, &, && prefixes not in nibble #540

Merged
merged 2 commits into from May 18, 2019
Merged

Parse |, ||, &, && prefixes not in nibble #540

merged 2 commits into from May 18, 2019

Conversation

Altai-man
Copy link
Member

@Altai-man Altai-man commented May 18, 2019

Needed for rakudo/rakudo#2907 to work.

But in an appropriate regexes.
It is needed for precedence like
https://github.com/perl6/roast/blob/master/S05-mass/rx.t#L828 to work,
which worked before due to a mis-parse.
jnthn++ for the actual fix.
@Altai-man
Copy link
Member Author

Passes spectest.

@Altai-man
Copy link
Member Author

It dies due to incorrect test that wants the opposite of what roast wants, let me check it further...

@Altai-man
Copy link
Member Author

So we have a test in roast
https://github.com/perl6/roast/blob/master/S05-mass/rx.t#L828
added by Larry at Raku/roast@ee1bd8d#diff-4149f4a4f6ad1730d0d001f26fd21c0b
that is exactly opposite to what was in nqp, so I set the test to be allowed.

It seems that earlier it "worked" due to incorrect assumption in the test, and the opposite test in roast worked because there was an another bug, that was fixed at https://github.com/rakudo/rakudo/pull/2907/files

@MasterDuke17 MasterDuke17 merged commit 25114a3 into Raku:master May 18, 2019
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.

None yet

2 participants