Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Type objects no longer stringify to "Type()" -- have to use .gist ins…
…tead. Coke++ for working on this one.
  • Loading branch information
pmichaud committed Jul 5, 2011
1 parent b24a341 commit a94b224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/pair-in-array.t
Expand Up @@ -11,7 +11,7 @@ my @p1 = (1=>'a');
my @p2 = 1=>'a', 1=>'b';
my @p3 = 1=>'a', 42;

sub catWhat (*@a) { [~] map -> $v { WHAT($v) }, @a; }
sub catWhat (*@a) { [~] map -> $v { WHAT($v).gist }, @a; }

is catWhat(@p1), 'Pair()', 'array of single Pair holds a Pair';
is catWhat(@p2), 'Pair()Pair()', 'array of Pairs holds Pairs';
Expand Down

0 comments on commit a94b224

Please sign in to comment.