develooper Front page | perl.perl6.compiler | Postings from August 2010

[perl #77424] [BUG] Rakudo gives a runtime error on .[ 1 .. *-1 ]

From:
Carl Mäsak
Date:
August 24, 2010 16:44
Subject:
[perl #77424] [BUG] Rakudo gives a runtime error on .[ 1 .. *-1 ]
Message ID:
rt-3.6.HEAD-5116-1282693434-1458.77424-82-0@perl.org
# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #77424]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=77424 >


<jnthn> rakudo: my @a = 1,2,3,4; say @a[1..*-1]
<p6eval> rakudo 82c9e9: OUTPUT«Method 'Num' not found for invocant of
class 'WhateverCode'␤  in 'Cool::Numeric' at line 1745:CORE.setting␤
in 'Cool::Numeric' at line 1746:CORE.setting␤  in 'Range::new' at line
4676:CORE.setting␤  in 'infix:<..>' at line 4739:CORE.setting␤  [...]
<jnthn> ew er
<masak> :/
<jnthn> Why on earth does Cool::Numeric show up twice in the backtrace?
<masak> multi delegation?
* masak submits rakudobug for that, too



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About