Skip Menu |
Report information
Id: 124527
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: davidnmfarrell [at]

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)

Subject: [BOGUSTEST] [REGEX] S05-metasyntax/interpolating-closure.t line:28 reason: 'dunno'
Download (untitled) / with headers
text/plain 567b
This look like a bogus test to me. On the RHS of the ~~ operator, `$_` is bound to the LHS string "aaabccc". `$var ??` evaluates the regex $var in boolean context, which causes it to match against this string. Since there is no match, this causes the ternary operator to return the `rx{abc}` branch, which in turn matches at the current position in the outer regex. So unless I'm missing something, it is wrong for the test to expect no match for the outer regex, and Rakudo already does the right thing. What's the protocol for removing/changing tests in roast?

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at