Browse files

Make Real ~~ Real.item work, suggested by jnthn++

  • Loading branch information...
1 parent 787295d commit 117beb2d0021c46f129bc0bef93f4b41f4e0ec1d @lizmat lizmat committed Jul 25, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Perl6/Metamodel/BOOTSTRAP.nqp
View
6 src/Perl6/Metamodel/BOOTSTRAP.nqp
@@ -1833,15 +1833,15 @@ Perl6::Metamodel::ParametricRoleGroupHOW.set_selector_creator({
Perl6::Metamodel::ParametricRoleGroupHOW.pretend_to_be([Cool, Any, Mu]);
Perl6::Metamodel::ParametricRoleGroupHOW.configure_punning(
Perl6::Metamodel::ClassHOW,
- hash( ACCEPTS => Mu ));
+ hash( ACCEPTS => Mu, item => Mu ));
Perl6::Metamodel::ParametricRoleHOW.pretend_to_be([Cool, Any, Mu]);
Perl6::Metamodel::ParametricRoleHOW.configure_punning(
Perl6::Metamodel::ClassHOW,
- hash( ACCEPTS => Mu ));
+ hash( ACCEPTS => Mu, item => Mu ));
Perl6::Metamodel::CurriedRoleHOW.pretend_to_be([Cool, Any, Mu]);
Perl6::Metamodel::CurriedRoleHOW.configure_punning(
Perl6::Metamodel::ClassHOW,
- hash( ACCEPTS => Mu ));
+ hash( ACCEPTS => Mu, item => Mu ));
# Similar for packages and modules, but just has methods from Any.
Perl6::Metamodel::PackageHOW.pretend_to_be([Any, Mu]);

0 comments on commit 117beb2

Please sign in to comment.