[perl #131197] [LTA] List.splice issues superfluous warning: "Use of uninitialized value of type Any in string context"
[email protected] ("Zoffix Znet via RT")
| Newsgroups | perl.perl6.compiler |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 23 Apr 2017 10:36:15 -0700, [email protected] wrote: > To repro: > > use v6; > my $root = qw<zero one two>; > my $step = 2; > my $value = 'three'; > $root.splice($step, 0, $value); > # Use of uninitialized value of type Any in string context. > # Methods .^name, .perl, .gist, or .say can be used to stringify it to > something meaningful. > # in block <unit> at lta-golf.p6 line 8 > # Cannot resolve caller splice(List, Int, Int, Str); none of these > signatures match: > # in block <unit> at lta-golf.p6 line 8 > > This is creating LTA error messages during exception testing of Crane [1]. > > [1]: https://github.com/atweiden/crane This has been fixed and tested as part of resolving RT#131367[^1] awhile back. [1] https://rt.perl.org/Ticket/Display.html?id=131367