Skip Menu |
Report information
Id: 130439
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: alex.jakimenko [at] gmail.com
Cc:
AdminCc:

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



Subject: [REGRESSION] splice no longer attempts to numify things (@a.splice: ^3)
Download (untitled) / with headers
text/plain 2.1k
Code: my @a = <a b c d e f g>; say @a.splice: ^3 Result (2015.12,2016.07.1): [d e f g] Result (HEAD): Cannot resolve caller splice(Array: Range); none of these signatures match: (Array:D \SELF: *%_) (Array:D $: Whatever, *%_) (Array:D $: Callable:D $offset, *%_) (Array:D $: Int:D $offset, *%_) (Array:D $: Whatever, Whatever, *%_) (Array:D $: Whatever, Int:D $size, *%_) (Array:D $: Whatever, Callable:D $size, *%_) (Array:D $: Callable:D $offset, Callable:D $size, *%_) (Array:D $: Callable:D $offset, Whatever, *%_) (Array:D $: Callable:D $offset, Int:D $size, *%_) (Array:D $: Int:D $offset, Whatever, *%_) (Array:D $: Int:D $offset, Callable:D $size, *%_) (Array:D $: Int:D $offset, Int:D $size, *%_) (Array:D $: Whatever $offset, Whatever $size, **@new, *%_) (Array:D $: Whatever $offset, Callable:D $size, **@new, *%_) (Array:D $: Whatever $offset, Int:D $size, **@new, *%_) (Array:D $: Callable:D $offset, Whatever $size, **@new, *%_) (Array:D $: Callable:D $offset, Callable:D $size, **@new, *%_) (Array:D $: Callable:D $offset, Int:D $size, **@new, *%_) (Array:D $: Int:D $offset, Whatever $size, **@new, *%_) (Array:D $: Int:D $offset, Callable:D $size, **@new, *%_) (Array:D $: Int:D $offset, Int:D $size, **@new, *%_) (Array:D $: Whatever, Whatever, @new, *%_) (Array:D $: Whatever, Int:D $size, @new, *%_) (Array:D $: Whatever, Callable:D $size, @new, *%_) (Array:D $: Callable:D $offset, Callable:D $size, @new, *%_) (Array:D $: Callable:D $offset, Whatever, @new, *%_) (Array:D $: Callable:D $offset, Int:D $size, @new, *%_) (Array:D $: Int:D $offset, Whatever, @new, *%_) (Array:D $: Int:D $offset, Callable:D $size, @new, *%_) (Array:D $: Int:D $offset, Int:D $size, @new, *%_) in block <unit> at /tmp/SItA2b7BIp line 1 Bisectable points to https://github.com/rakudo/rakudo/commit/f32173b2ca3a2652277b81ff381e6377632f0538 Given that the commit was attempting to improve the performance, I think the change was unintentional. However, feel free to argue that the current behavior is correct. If so, please treat this ticket as [LTA] (the amount of candidates printed is insane).
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 360b
FWIW, my math[^1] suggests with current system we'd need 22 more candidates to handle Cool, bringing the total to 52 candidates. IMO Cool candidates are important to have, perhaps we can de-optimize something that won't have a huge performance hit, while reducing the candidates to saner levels? [1] https://irclog.perlgeek.de/perl6-dev/2016-12-29#i_13819263
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 157b


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