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

Owner: Nobody
Requestors: cpan [at] zoffix.com
Cc:
AdminCc:

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



Subject: [LTA] line number for `Too few possionals passed` error incorrectly points to last block in a HEREDOC
Download (untitled) / with headers
text/plain 991b
02:30 IOninja m: sub x (% (:$made-on, :$routines, :$total, :$unique)) {␤␤␤␤␤␤␤␤␤␤␤␤␤ Q:c:to/END/␤y{$total}y␤END␤ }( |%(:42made-on, :42routines, :42total, :42unique) ) 02:30 camelia rakudo-moar dd4dfb: OUTPUT: «Too few positionals passed; expected 1 argument but got 0␤ in sub x at <tmp> line 15␤ in block <unit> at <tmp> line 1␤␤» 02:31 IOninja m: sub x (% (:$made-on, :$routines, :$total, :$unique)) {␤␤␤␤␤␤␤␤␤␤␤␤␤ Q:c:to/END/␤y{$total}y␤␤␤␤␤␤␤␤␤␤␤{'meow'}␤END␤ }( |%(:42made-on, :42routines, :42total, :42unique) ) 02:31 camelia rakudo-moar dd4dfb: OUTPUT: «Too few positionals passed; expected 1 argument but got 0␤ in sub x at <tmp> line 26␤ in block <unit> at <tmp> line 1␤␤» 02:31 IOninja Bug. If anyone wants to report (reported `line` is for the HEREDOC's last block, even though the issue is in `sub x`'s arguments) https://irclog.perlgeek.de/perl6/2017-02-26#i_14166725


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