I'm closing this ticket as 'resolved'. If you think, we should have a test for
this, please reopen the ticket.
The tests was unfudged with commit
https://github.com/perl6/roast/commit/de3372559d. I'm closing this ticket now.
# New Ticket Created by "Andy Bach"
# Please include the string: [perl #125338]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125338 >
Following the steps from:
http://rakudo.org/how-to-get-rakudo/
All went well through:
git
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125339]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125339 >
Code:
take 1;
Result:
take without gather
Yes, that's it – "take without gather". No
Doing binding instead of assignment does *not* work as well (liz suggested
to add that to the ticket):
my @a := 1...NaN;
my @a := 1...-Inf;
my @a := NaN...1;
my @a := Inf...0;
my @a := -Inf...0;
On Fri, Jun 5, 2015 at 8:29 PM, perl6 via RT
wrote:
> Greetings,
>
> This message has been automatic
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125337]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125337 >
This is just weird:
Code:
.say for 1...NaN;
Result:
1
0
-1
-2
-3
-4
... and so on ...
A little correction for 「.say for NaN..0」 -- it prints 1024 NaNs, not
-Infs.
Code:
.say for NaN..0
Result:
NaN
NaN
NaN
NaN
... and so on exactly 1024 times, but then suddenly:
-9223372036854775808
-9223372036854775808
-9223372036854775808
-9223372036854775808
... and so on (infinitely) ...
Also,
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125336]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125336 >
Code:
.say for Inf..0
Result:
-9223372036854775808
-9223372036854775808
-9223372036854
I can see that as being tricky too implement. If you get the error
message, it's easy enough to ask most editors for all occurrences of
the string.
On 6/5/15, Alex Jakimenko wrote:
> # New Ticket Created by Alex Jakimenko
> # Please include the string: [perl #125333]
> # in the subject line of
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125335]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125335 >
Code:
say +("\b" x 70);
Result (in my terminal):
Cannot convert stri' (indicated by ⏏)
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125334]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125334 >
Code:
min(+'a', +'a').say
Result:
Inf
Normally such conversion throws an error:
Code
# New Ticket Created by Alex Jakimenko
# Please include the string: [perl #125333]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125333 >
Code:
#!/usr/bin/env perl6
my $foo;
my $foo;
Result:
Potential difficulties:
Red
# New Ticket Created by Pawel Pabian
# Please include the string: [perl #125331]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=125331 >
$ perl6 -e 'loop { $_ ~~ /.+/ }'
While it runs two different error messages are returned
Branch: refs/heads/master
Home: https://github.com/perl6/specs
Commit: 415fa4cc4d404a0681199f79f4f164161b823395
https://github.com/perl6/specs/commit/415fa4cc4d404a0681199f79f4f164161b823395
Author: Elizabeth Mattijsen
Date: 2015-06-04 (Thu, 04 Jun 2015)
Changed paths:
14 matches
Mail list logo