Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

fix use of |$. #3

Merged
merged 1 commit into from

2 participants

@timo

Tests still pass, but I didn't actually test. If I actually broke it, I blame the test cases :D

@jnthn jnthn merged commit 96c0c46 into jnthn:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 29, 2013
  1. @timo

    fix obsolete use of |$.

    timo authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Grammar/Debugger.pm
View
4 lib/Grammar/Debugger.pm
@@ -37,14 +37,14 @@ my class DebuggedGrammarHOW is Mu is Metamodel::GrammarHOW {
my $meth := callsame;
substr($name, 0, 1) eq '!' || $name eq any(<parse CREATE BUILD Bool defined MATCH>) ??
$meth !!
- -> $c, |$args {
+ -> $c, |args {
# Method name.
say ('| ' x $!indent) ~ BOLD() ~ $name ~ RESET();
# Call rule.
self.intervene(EnterRule, $name);
$!indent++;
- my $result := $meth($c, |$args);
+ my $result := $meth($c, |args);
$!indent--;
# Dump result.
Something went wrong with that request. Please try again.