Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[GGE::Match] s/List/Array/

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...
commit 7a77cf0b95256e095cead3e98672bd19075f39a6 1 parent e263efb
@masak authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/GGE/Match.pm
View
4 lib/GGE/Match.pm
@@ -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);
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.