Skip to content

Commit

Permalink
Merge pull request #2495 from Skarsnik/patch-1
Browse files Browse the repository at this point in the history
Add the definition of arguments in Multi::NoMatch exception
  • Loading branch information
lizmat committed Dec 8, 2018
2 parents 9fe7d64 + abfb9a4 commit 1d597fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Exception.pm6
Expand Up @@ -2630,7 +2630,7 @@ my class X::Multi::NoMatch is Exception {
if $.capture {
for $.capture.list {
try @bits.push(
$where ?? Rakudo::Internals.SHORT-GIST($_) !! .WHAT.perl
$where ?? Rakudo::Internals.SHORT-GIST($_) !! .WHAT.perl ~ ':' ~ (.defined ?? "D" !! "U")
);
@bits.push($_.^name) if $!;
when Failure {
Expand Down

0 comments on commit 1d597fa

Please sign in to comment.