# New Ticket Created by Vasily Chekalkin
# Please include the string: [perl #55400]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=55400 >
Hello.
This is fix for reusing same range many times.
my $a = (1..5); say $a.from;
Applied (with minor mods) in r28129.
Thanks!
Pm
Qui, 2008-06-05 às 15:43 -0700, Larry Wall escreveu:
> Maybe it's just a temporary lack of imagination, but I'm having trouble
> these days coming up with any kind of a use case for confusing single
> dispatch with multiple dispatch. Yeah, I know I wrote that, but I was
> either smarter or stupide
This is probably explained somewhere, but I've been unable to piece it
together in my own investigation. If I have a class:
class Foo {
has Int $!value;
}
I get the impression that the default constructor would allow me to
say
my Foo $foo .= new(value => 2);
Which seems to me to be a bit odd,
On Fri, Jun 6, 2008 at 7:34 PM, Vasily Chekalkin <[EMAIL PROTECTED]> wrote:
> jerry gay wrote:
>>
>> On Wed, Jun 4, 2008 at 2:46 PM, Moritz Lenz <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> Oops, forgot to attach patch. Now it's really there.
>>>
>> thanks, applied as of r28074.
>> ~jerry
>
> This is wron
t/spec/S02-builtin_data_types/type.t:23 in the spectests (r20685)
has the following:
my Int $foo;
my Str $bar;
#?rakudo skip 'type checking unimpl'
{
#?pugs 1 todo
is(try{$foo = 'xyz'}, undef, 'Int restricts to integers');
is(try{$foo = 42},42,'Int is an intege