Skip Menu |
Report information
Id: 131936
Status: resolved
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: smls75 [at]

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

Subject: [REGRESSION] [REGEX] Match.made leaks a `NQPMu`
From: Sam S <smls75 [...]>
Date: Sun, 20 Aug 2017 18:11:55 +0200
To: Rakudo Bugtracker <rakudobug [...]>
Download (untitled) / with headers
text/plain 737b
It happens when `.made` is called on a Match on which `.make` was never called: say "a".match(/a/).made.^name; # NQPMu This used to return `Any`. (Arguably, `Nil` would be ideal.) The `NQPMu` is a problem because it blows up when you pass it to `say` or `dd`, among other things. --- As for figuring out what caused the regression, bisectable can merely narrow it down to 20 commits: But based on the commit messages, this one sounds most relevant: --- This is Rakudo version 2017.07-214-g2545e6d65 built on MoarVM version 2017.07-467-gf22f8d7c implementing Perl 6.c.
Test were added by Zoffix a month ago: Closing.

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