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


(submitting on behalf of skids, who has problems reaching rakudobug by
email)

When a parametric role is curried it works fine straight from source,
but when the role has been precompiled into a module, a parrot
error is thrown:

cat mod2.pm6
role Foo [ ] { }; role Bar does Foo[] { }
$ PERL6LIB="." perl6 -e 'use mod2; class C does Bar { };'
$ PERL6LIB="." perl6 --target=pir --output=mod2.pir mod2.pm6
$ PERL6LIB="." perl6 -e 'use mod2; class C does Bar { };'
===SORRY!===
flattened parameters must be a hash or array
$

http://irclog.perlgeek.de/perl6/2012-10-13#i_6059103

13:49 skids jnthn: any thoughts on https://gist.github.com/3882578 ?  #
Apologies of this is a dup line, IRC flapped.
13:49 jnthn skids: looking
13:50       skids: urgh, that looks problematic.
13:50       Please Rakudo-bug it, I'll have a look.
13:52 skids ok, will do.
13:52       jnthn++
13:52 jnthn I'm gonna be doing a bunch of work on pre-comp and so on
soonish (automatic pre-comp and so on)

Reply via email to