Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[v6] Fix method not found in RxOp::Subrule.clone
  • Loading branch information
sorear committed Jan 12, 2011
1 parent 8f7f9e8 commit aa7ce49
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions v6/harness
Expand Up @@ -173,6 +173,16 @@ augment class Op::HereStub { #OK exist
}
}

augment class RxOp::Subrule { #OK exist
method clone(*%_) {
self.WHAT.new(method => $!method, regex => $!regex,
passcap => $!passcap, _passcapltm => $!_passcapltm,
_passcapzyg => $!_passcapzyg, selfcut => $!selfcut,
zerowidth => $!zerowidth, negative => $!negative,
captures => $.captures, |%_);
}
}

# XXX mega hack.
my class Instant {
has $.val;
Expand Down

0 comments on commit aa7ce49

Please sign in to comment.