Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't itemize make's ast argument
  • Loading branch information
TimToady committed Jan 31, 2014
1 parent d6a93b0 commit 8128f6a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/core/Match.pm
Expand Up @@ -69,29 +69,29 @@ my class Match is Capture is Cool {
$r;
}

method make(Match:D: Mu $ast) {
$!ast = $ast;
method make(Match:D: Mu \ast) {
$!ast = ast;
nqp::bindattr(
nqp::decont(self.CURSOR),
Cursor,
'$!ast',
$ast
ast
);
}
}

sub make(Mu $ast) {
sub make(Mu \ast) {
nqp::bindattr(
nqp::decont(nqp::getlexcaller('$/')),
Match,
'$!ast',
$ast
ast
);
nqp::bindattr(
nqp::decont(nqp::getlexcaller('$/').CURSOR),
Cursor,
'$!ast',
$ast
ast
);
}

0 comments on commit 8128f6a

Please sign in to comment.