# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130290]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130290 >
Code:
my @a = ; @a[*-18446744073709551616]:delete; say @a
Result
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130288]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130288 >
Code:
say 42 xx ‘123abc’
Result (2016.06):
Cannot convert string to
# New Ticket Created by Lucas Buchala
# Please include the string: [perl #130286]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130286 >
Type capture in subroutine strangely works in some contexts but not others.
> sub
(Apologies if this appears twice.)
I was told on IRC to report this as an NYI.
https://irclog.perlgeek.de/perl6/2016-12-03#i_13674766
Thanks,
- Michael
On 6-Dec-16 17:36, Will Coleda via RT wrote:
On Sat, 03 Dec 2016 11:31:59 -0800, pe...@mscha.org wrote:
Coercion type works quite nicely in signatures, e.g.
sub foo(Int(Cool) $f) {
say $f.WHAT;
}
foo "42";# (Int)
but it doesn't work yet in variable
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130285]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130285 >
Code:
say (4,5,6).tail(-999)
Result HEAD:
MoarVM
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130284]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130284 >
Code:
say 1.pick(-1)
Result:
MVMArray: Index out of bounds
in
On Tue, 06 Dec 2016 15:57:42 -0800, alex.jakime...@gmail.com wrote:
> Code:
> ().rotor(1)
>
> Result (2016.06):
> ()
>
> Result (HEAD):
> .new
>
>
> Bisectable points to
> https://github.com/rakudo/rakudo/commit/405519ac197dea8f7f196311825c94a3157a3455
> Possible IRC discussion
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130283]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130283 >
Code:
().rotor(1)
Result (2016.06):
()
Result (HEAD):
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130282]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130282 >
Code:
say 42.roll(-1)
Result (HEAD):
(42 42 42 42 42 42 42 42 42 42
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev
# Please include the string: [perl #130281]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130281 >
Code:
say 42 x Nil
Result:
(no output)
I was expecting a warning
On Sat, 03 Dec 2016 11:31:59 -0800, pe...@mscha.org wrote:
> Coercion type works quite nicely in signatures, e.g.
>
> sub foo(Int(Cool) $f) {
> say $f.WHAT;
> }
> foo "42";# (Int)
>
> but it doesn't work yet in variable declarations, e.g.
>
> my Int(Cool) $x; $x
On Tue, 06 Dec 2016 06:34:03 -0800, c...@zoffix.com wrote:
> # I already have the fix; filing for records
>
> If you try to write `else` with an `unless` clause, you get a nice
> error, telling you `unless` doesn't take `else` and you should rewrite
> with `if`
>
> m: unless 1 {} else {}
>
# New Ticket Created by Zoffix Znet
# Please include the string: [perl #130279]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=130279 >
# I already have the fix; filing for records
If you try to write `else` with an `unless`
14 matches
Mail list logo