Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Parcel is List now
Fixs S09-typed-arrays/arrays.t
  • Loading branch information
niner committed Aug 26, 2015
1 parent 08f7ebe commit c418cc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions S09-typed-arrays/arrays.t
Expand Up @@ -203,13 +203,13 @@ plan 77;
{
my @RT120506-bind := Array[Array[Bool]].new($(Array[Bool].new(True, False, True)), $(Array[Bool].new(True)));
#?rakudo todo 'unexpectedly getting array Array[Bool].new'
is-deeply @RT120506-bind[0, 1.Parcel, ((True, False, True), (True,)),
is-deeply @RT120506-bind[0, 1.List, ((True, False, True), (True,)),
"Can feed Arrays of Type to .new of Array[Array[Type]] (binding)";
is @RT120506-bind[0].WHAT, Array[Bool], "Type is maintained (binding)";

my Array of Bool @RT120506-assign .= new($(Array[Bool].new(True, False, True)), $(Array[Bool].new(True)));
#?rakudo todo 'unexpectedly getting array Array[Bool].new'
is-deeply @RT120506-assign[0, 1.Parcel, ((True, False, True), (True,)),
is-deeply @RT120506-assign[0, 1.List, ((True, False, True), (True,)),
"Can feed Arrays of Type to .new of Array[Array[Type]] (assignment)";
is @RT120506-assign[0].WHAT, Array[Bool], "Type is maintained (assignment)";
}
Expand Down

0 comments on commit c418cc1

Please sign in to comment.