This is an automatically generated mail to inform you that tests are now available in t/spec/S09-typed-arrays/arrays.t
commit 792f99cc86fa6473315dddc0bc4b18e47e54c28f Author: kyle <k...@c213334d-75ef-0310-aa23-eaa082d1ae64> Date: Mon Jan 11 15:56:48 2010 +0000 [t/spec] Test for RT 71958: array type constraint leaks git-svn-id: http://svn.pugscode.org/p...@29519 c213334d-75ef-0310-aa23-eaa082d1ae64 diff --git a/t/spec/S09-typed-arrays/arrays.t b/t/spec/S09-typed-arrays/arrays.t index 0fb1333..269b746 100644 --- a/t/spec/S09-typed-arrays/arrays.t +++ b/t/spec/S09-typed-arrays/arrays.t @@ -1,7 +1,7 @@ use v6; use Test; -plan 55; +plan *; # L<S09/Typed arrays/> @@ -125,4 +125,17 @@ lives_ok { my @x = 1 .. 3 }, 'initialization of typed array from range'; 'type check Positional of Num allows subtyped Int array to be returned implicitly'; } +# RT 71958 +{ + class RT71958 { + has @.rt71958 is rw; + } + my Int @typed_array; + #?rakudo todo 'RT 71958: Array type constraint leaks' + lives_ok { RT71958.new().rt71958[0] = RT71958.new() }, + 'can assign to untyped array in presence of typed array'; +} + +done_testing; + # vim: ft=perl6