Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
Carl Mäsak authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  lib/GGE/Match.pm
4  lib/GGE/Match.pm
@@ -63,7 +63,7 @@ class GGE::Match {
63 63
                     when GGE::Match {
64 64
                         $out ~= $elem.dump_str($name, $b1, $b2);
65 65
                     }
66  
-                    when List {
  66
+                    when Array {
67 67
                         for $elem.list.kv -> $i2, $e2 {
68 68
                             my $n2 = [~] $name, $b1, $i2, $b2;
69 69
                             $out ~= $e2.dump_str($n2, $b1, $b2);
@@ -83,7 +83,7 @@ class GGE::Match {
83 83
                 when GGE::Match {
84 84
                     $out ~= $elem.dump_str($name, $b1, $b2);
85 85
                 }
86  
-                when List {
  86
+                when Array {
87 87
                     for $elem.list.kv -> $i2, $e2 {
88 88
                         my $n2 = [~] $name, $b1, $i2, $b2;
89 89
                         $out ~= $e2.dump_str($n2, $b1, $b2);

0 notes on commit 7a77cf0

Please sign in to comment.
Something went wrong with that request. Please try again.