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


Found an odd compilation-only problem with rakudo with both JVM and MoarVM:

https://gist.github.com/cjfields/f899329609b3eee7129d#file-gistfile1-txt

Note that the script works until one of the modules (the role with the 
'handles' keyword) is compiled.  Then it fails (reversing that, compiling only 
the class but not the role, works fine).

This seems to be due to 'handles' not accepting a list of values for methods.  
Specifying a single method ('handles "getc"')  or the class ('handles 
IO::Handle) works fine, though I haven't yet tested to see if said methods are 
actually present.

Rakudo version:

<pre>
[cjfields@cjfields-imac ~]$ perl6 -v
This is perl6 version 2015.01-27-gfc5f2d8 built on MoarVM version 
2015.01-5-ga29eaa9
[cjfields@cjfields-imac ~]$ perl6-j -v
This is perl6 version 2015.01-27-gfc5f2d8 built on JVM
</pre>

Run on Mac OS X 10.10.


Reply via email to