Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Eliminate a now-unrequired hack.
  • Loading branch information
jnthn committed Jan 14, 2013
1 parent caa866f commit 8319c39
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/how/NQPModuleHOW.pm
Expand Up @@ -26,9 +26,7 @@ knowhow NQPModuleHOW {
}

method add_method($obj, $name, $code_obj) {
# XXX Commented out as in some places, module is used to try to
# shove methods into Parrot classes (which doesn't work any, mind).
#nqp::die("Modules may not have methods");
nqp::die("Modules may not have methods");
}

method add_multi_method($obj, $name, $code_obj) {
Expand Down

0 comments on commit 8319c39

Please sign in to comment.