Permalink
Browse files

[v6] Fix method not found in RxOp::Subrule.clone

  • Loading branch information...
1 parent 8f7f9e8 commit aa7ce499f79080655eb72b24ae7ab915bf150b12 @sorear committed Jan 12, 2011
Showing with 10 additions and 0 deletions.
  1. +10 −0 v6/harness
View
@@ -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;

0 comments on commit aa7ce49

Please sign in to comment.