You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately, I have no idea for code that would trigger this elsif branch (to create a test and changing the line to use the exising from-loop method).
20:47 | lizmat | m: Slip.from-loop
20:47 | camelia | rakudo-moar f987cdb: OUTPUT: «No such method 'from-loop' for invocant of type 'Slip' in block at line 1»
20:47 | lizmat | which implies that path is never taken
[...]
20:49 | lizmat | seeing that that code has been in there since Sep 2015, I'm pretty sure we can just take it out
20:49 | lizmat | as there has been no test breakage and no ecosystem breakage because of it
The text was updated successfully, but these errors were encountered:
usev6
changed the title
Call to non-existing method in src/core.c/array_slice.pm6
Call to non-existing method Slip.from-loop in src/core.c/array_slice.pm6
Apr 13, 2020
Unfortunately, I have no idea for code that would trigger this elsif branch
(to create a test and changing the line to use the exising ```from-loop```
method).
Seems pretty straight forward to me:
raku -e 'my @A; my @i = 1, 2; my @c = 1, 2; @A[@i] = @c.iterator'
No such method 'from-loop' for invocant of type 'Slip'
The Problem
This line from src/core.c/array_slice.pm6 has a call to
Slip.from-loop()
: https://github.com/rakudo/rakudo/blob/f987cdb0ba/src/core.c/array_slice.pm6#L250But we only have
Seq.from-loop()
.Unfortunately, I have no idea for code that would trigger this elsif branch (to create a test and changing the line to use the exising
from-loop
method).The text was updated successfully, but these errors were encountered: