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


Rakudo gives >>>Method 'parameterize' not found for invocant of class 
'Perl6::Metamodel::ParametricRoleHOW'<<<
when importing a parametric role from another module and trying to use
it:

moritz | r: module A { role B[$x] is export { } }; import A; say B[1]
p6eval | rakudo 690dad: OUTPUT«===SORRY!===␤Method 'parameterize' not found for 
invocant of class 'Perl6::Metamodel::ParametricRoleHOW'␤»

while it works just fine without export/import:

moritz | r: role B[$x] { }; say B[1]
p6eval | rakudo 690dad: OUTPUT«B()␤»

Reply via email to