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

Owner: Nobody
Requestors: cpan [at]

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

Subject: [BUG] Range + detached method + map with &sub = "Cannot find method 'count' on object of type NQPMu"
Download (untitled) / with headers
text/plain 387b
A WhateverCode detached map or a &sub undetached map works fine: m: ^2 .map: *.say rakudo-moar 86e7b2: OUTPUT: «0␤1␤» m: (^2).map: &say rakudo-moar 86e7b2: OUTPUT: «0␤1␤» But explodes if you try to both detache and use the &sub map: m: ^2 .map: &say rakudo-moar 86e7b2: OUTPUT: «===SORRY!===␤Cannot find method 'count' on object of type NQPMu␤»

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

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