Permalink
Browse files

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 053013e970d1d6d8fe7ec703f568f29fa994c45b
Showing with 1 addition and 1 deletion.
  1. +1 −1 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($_);

0 comments on commit 053013e

Please sign in to comment.