Skip to content

Commit

Permalink
[GGE::Match] s/List/Array/
Browse files Browse the repository at this point in the history
When I once put in 'List' there instead of 'Array', it was in the name of
generality. Then Array stopped inheriting from List... :)
  • Loading branch information
Carl Masak committed May 27, 2010
1 parent e263efb commit 7a77cf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/GGE/Match.pm
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class GGE::Match {
when GGE::Match {
$out ~= $elem.dump_str($name, $b1, $b2);
}
when List {
when Array {
for $elem.list.kv -> $i2, $e2 {
my $n2 = [~] $name, $b1, $i2, $b2;
$out ~= $e2.dump_str($n2, $b1, $b2);
Expand All @@ -83,7 +83,7 @@ class GGE::Match {
when GGE::Match {
$out ~= $elem.dump_str($name, $b1, $b2);
}
when List {
when Array {
for $elem.list.kv -> $i2, $e2 {
my $n2 = [~] $name, $b1, $i2, $b2;
$out ~= $e2.dump_str($n2, $b1, $b2);
Expand Down

0 comments on commit 7a77cf0

Please sign in to comment.