Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
todo -> skip to allow tests to continue
Previously the tests gave the wrong result. Now they fail because there
are no typed Seq and @array.values and .keys return Seq now.

The question remains if we actually need typed Seq. Since they are
immutable, the only reason that comes to mind would be multi dispatch.
  • Loading branch information
niner committed Aug 26, 2015
1 parent 0ef812a commit 08f7ebe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions S09-typed-arrays/arrays.t
Expand Up @@ -97,12 +97,12 @@ plan 77;
my Int @a = 1, 2, 3;
my Int @b;
lives-ok { @b = @a }, 'can assign typed array to typed array';
#?rakudo todo 'need parameterized Lists'
#?rakudo skip 'need parameterized Lists'
ok @a.values.VAR.of.WHICH eqv Int.WHICH, '@a.values is typed (1)';
lives-ok { @b = @a.values }, '@a.values is typed (2)';
} #3

#?rakudo todo 'initialization RT #124676'
#?rakudo skip 'initialization RT #124676'
{
my Str @c = <foo bar baz>;
ok @c.keys.VAR.of.WHICH eqv Str.WHICH, '@array.keys is typed with Str';
Expand Down

0 comments on commit 08f7ebe

Please sign in to comment.