Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Stop nqp::can(EXPORTHOW, 'foo') from exploding by adding some missing…
… bits to NQPModuleHOW.
  • Loading branch information
jnthn committed Jul 2, 2012
1 parent 2bd8dcb commit f16f2c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/how/NQPModuleHOW.pm
Expand Up @@ -39,8 +39,14 @@ knowhow NQPModuleHOW {
}

method compose($obj) {
pir::publish_method_cache($obj, my %empty);
pir::set_method_cache_authoritativeness__0Pi($obj, 1);
$!composed := 1;
}

method find_method($obj, $name, *%opts) {
nqp::null()
}

method name($obj) {
$!name
Expand Down

0 comments on commit f16f2c5

Please sign in to comment.