# New Ticket Created by  Jan-Olof Hendig 
# Please include the string:  [perl #128860]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=128860 >


dogbert@dogbert-VirtualBox ~/.rakudobrew/moar-nom $ perl6 -v
This is Rakudo version 2016.07.1-128-g715b822 built on MoarVM version 
2016.07-16-g85b6537
implementing Perl 6.c.

dogbert@dogbert-VirtualBox ~/.rakudobrew/moar-nom $ perl6 -e 'say 
(1,2,3).invert'
Method 'value' not found for invocant of class 'Int'
  in block <unit> at -e line 1

http://irclog.perlgeek.de/perl6/2016-08-06

12:58:01    dogbert17 | m: say (1,2,3).invert  # ??                             
                                                                                
                     
12:58:01     +camelia | rakudo-moar 589061: OUTPUT«Method 'value' not found for 
invocant of class 'Int'␤  in block <unit> at <tmp> line 1␤␤»                    
                     
12:59:18       lizmat | dogbert17: all I can say is that TimToady added/changed 
it early 2015  

...

13:16:34       lizmat | apparently you can only List.invert if the List 
contains pairs                                                                  
                              
13:18:13       lizmat | dogbert17: so In guess the right course of action would 
be to rakudobug it as a @LARRY bug                                              
                      
13:20:02    dogbert17 | lizmat: so the bug is that it only handles list of 
pairs?                                                                          
                           
13:21:02       lizmat | well, I guess the bug is that the error is really LTA 
if the list does not consist of pairs *OR* it should call .pairs on itself 
first before inverting       
13:21:13       lizmat | (aka, be the same as .antipairs)       

Reply via email to