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

Owner: Nobody
Requestors: drforr [at] pobox.com
Cc:
AdminCc:

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



Date: Wed, 24 Jun 2015 19:28:14 +0200
From: drforr [...] pobox.com
Subject: slight given/when bug
To: Rakudobug <rakudobug [...] perl.org>
Download (untitled) / with headers
text/plain 527b
In the following code fragment, the die() message has two spaces after 'block'. I'm guessing that the name 'default' is missing here, and the sentence should read 'in block default at /home/jgoff/bug.t:9' as all of the other stacktrace lines have names in this location. --cut here-- use v6; my $t = 'fallthru'; given $t { when 'foo' { say "doing stuff"; } default { die "falling through"; } } --cut here-- --cut here-- perl6 ~/bug.t falling through in block at /home/jgoff/bug.t:9 --cut here--


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