Skip to content

Commit

Permalink
Fudge another :== NYI casualty in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Dec 6, 2015
1 parent 6c1ec2d commit b37b797
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion S03-binding/ro.t
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ plan 11;

# L<S03/Item assignment precedence/bind and make readonly>

#?rakudo skip '::= NYI'
{
my $x = 5;
my $y = 3;
Expand All @@ -16,20 +17,21 @@ plan 11;
is $x, 3, 'variable is still 3';
}

#?rakudo skip '::= NYI'
{
my Int $a = 4;
my Str $b;
dies-ok { $b ::= $a },
'Cannot ro-bind variables with incompatible type constraints';
}

#?rakudo skip '::= NYI'
{
my @x = <a b c>;
my @y = <d e>;

@x ::= @y;
is @x.join('|'), 'd|e', '::= on arrays';
#?rakudo 4 todo '::= on arrays'
#?niecza todo
dies-ok { @x := <3 4 foo> }, '... make RO';
#?niecza todo
Expand Down

0 comments on commit b37b797

Please sign in to comment.