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

Owner: Nobody
Requestors: smls75 [at] gmail.com
Cc:
AdminCc:

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 [...] gmail.com>
Date: Sun, 20 Aug 2017 18:11:55 +0200
To: Rakudo Bugtracker <rakudobug [...] perl.org>
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: https://gist.github.com/Whateverable/1176206b14ad722b53e6c6e920e60357 But based on the commit messages, this one sounds most relevant: https://github.com/rakudo/rakudo/commit/18bb9be2175248b49780378e62337ab91f910881 --- This is Rakudo version 2017.07-214-g2545e6d65 built on MoarVM version 2017.07-467-gf22f8d7c implementing Perl 6.c.


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

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