Skip Menu |
Report information
Id: 132210
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: Can't use `!` or `is required` with named Callable param constrainted by signature
Download (untitled) / with headers
text/plain 533b
IRC: https://irclog.perlgeek.de/perl6/2017-10-03#i_15250671 $ perl6 -e 'm: sub x (:$param) {say $param}; sub c (:&funk:(:$param)!) { funk :42param }; c(:funk(&x))' Required named parameter 'funk:(:$param)' not passed in sub c at -e line 1 in block <unit> at -e line 1 $ perl6 -e 'm: sub x (:$param) {say $param}; sub c (:&funk:(:$param) is required) { funk :42param }; c(:funk(&x))' Required named parameter 'funk:(:$param)' not passed It's possible this bug is related to https://rt.perl.org/Ticket/Display.html?id=132209


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