Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

No error message when repeating a quantifier as in 'a+ +' #128

Closed
masak opened this Issue · 1 comment

2 participants

@masak
Collaborator
<colomon> n: / a+ + /
<p6eval> niecza v17-49-g9852003:  ( no output )
<colomon> r: / a+ + /
<p6eval> rakudo 300327: OUTPUT«===SORRY!===␤Method 'rxtype' not found for invocant of class 'Integer'␤»
<colomon> std: / a+ + /
<p6eval> std 8632387: OUTPUT«===SORRY!===␤Quantifier quantifies nothing at /tmp/pMpmohyp_Z line 1:␤------> / a+ +⏏ 
                /␤Check failed␤FAILED 00:00 41m␤»
<jnthn> STD's output is the one I expected.
* masak submits nieczabug
@sorear
Owner

This is actually a STD buglet, fixed in Niecza in 5d10b5f; STD eats the space, so STD and Niecza continue parsing from /+/ and / +/ respectively, explaining the error difference.

@sorear sorear closed this in df795e6
@sorear sorear referenced this issue from a commit in perl6/std
@sorear Port fix for sorear/niecza#128 f179a1b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.