Skip to content

Commit

Permalink
Ununderscore maybe_typename
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jun 11, 2023
1 parent 7661383 commit 9b9b721
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Raku/Grammar.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -1890,7 +1890,7 @@ grammar Raku::Grammar is HLL::Grammar does Raku::Common {
[
<?[(]> <?{ $*is-type }>
'(' <.ws> [
|| <accept=.maybe_typename> <?{
|| <accept=.maybe-typename> <?{
my $it := $<accept>.ast;
nqp::istype($it,self.actions.r('Type','Coercion'))
|| $*R.is-name-type($it.name)
Expand Down Expand Up @@ -2944,7 +2944,7 @@ grammar Raku::Grammar is HLL::Grammar does Raku::Common {
}
}
method maybe_typename() {
method maybe-typename() {
return self.typename();
CATCH { return self.'!cursor_start_cur'() }
}
Expand Down

0 comments on commit 9b9b721

Please sign in to comment.