Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
find_method should cope with unknown adverbs (in this case, :no_trace…
…). Fixes the two broken protoregex test files.
  • Loading branch information
jnthn committed May 26, 2012
1 parent a0ed8c0 commit 053013e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Metamodel/MROBasedMethodDispatch.pm
@@ -1,7 +1,7 @@
role Perl6::Metamodel::MROBasedMethodDispatch {
# While we normally end up locating methods through the method cache,
# this is here as a fallback.
method find_method($obj, $name, :$no_fallback) {
method find_method($obj, $name, :$no_fallback, *%adverbs) {
my %methods;
for self.mro($obj) {
%methods := $_.HOW.method_table($_);
Expand Down

0 comments on commit 053013e

Please sign in to comment.