Skip to content
Browse files

Fix .chunks for .synthetic change, colomon++

  • Loading branch information...
1 parent 4abaa66 commit 1b41aa7fbc2ecf4c35073d8e4ade845ef8bd8915 @sorear committed Jan 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/CORE.setting
View
4 lib/CORE.setting
@@ -2561,14 +2561,14 @@ my class Match is Cool does Associative does Positional {
my @chunks;
for self.caps {
if .value.from > $lpos {
- push @chunks, '~' => Match.synthetic(:cursor(self),
+ push @chunks, '~' => Match.synthetic(:cursor(self), :captures[],
:from($lpos), :to(.value.from));
}
push @chunks, $_;
$lpos = .value.to;
}
if self.to > $lpos {
- push @chunks, '~' => Match.synthetic(:cursor(self),
+ push @chunks, '~' => Match.synthetic(:cursor(self), :captures[],
:from($lpos), :to(self.to));
}

0 comments on commit 1b41aa7

Please sign in to comment.
Something went wrong with that request. Please try again.