Skip to content

Commit

Permalink
RakuAST: make Var::PositionalCapture rakufy better
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jun 5, 2023
1 parent b76e2bc commit 1028ceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.c/RakuAST/Raku.pm6
Expand Up @@ -1152,7 +1152,7 @@ augment class RakuAST::Node {
}

multi method raku(RakuAST::Var::PositionalCapture:D: --> Str:D) {
self!positional(self.index)
self!literal(self.index)
}

#- VarDeclaration --------------------------------------------------------------
Expand Down

0 comments on commit 1028ceb

Please sign in to comment.