[perl #131623] [BUG] Range + detached method + map with &sub = "Cannot find method 'count' on object of type NQPMu"
[email protected] ("Jan-Olof Hendig via RT") Sat, 10 Mar 2018 16:40:40 -0800
| Newsgroups | perl.perl6.compiler |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 22 Jun 2017 05:25:08 -0700, [email protected] wrote: > A WhateverCode detached map or a &sub undetached map works fine: > m: ^2 .map: *.say > rakudo-moar 86e7b2: OUTPUT: «01» > m: (^2).map: &say > rakudo-moar 86e7b2: OUTPUT: «01» > > 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» Fixed with commit https://github.com/rakudo/rakudo/commit/f3efe5e6b4a9ee59f71ca11cb90ef78539be45e3