You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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()»
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()»
Fixed:
module A { role B[$x] is export { } }; import A; say B[1]
B()
Migrated from rt.perl.org#114954 (status was 'resolved')
Searchable as RT114954$
The text was updated successfully, but these errors were encountered: