On Sun Jan 03 06:02:05 2010, publiustemp-perl6interna...@yahoo.com wrote: > For this code: > > use v6; > > class Foo { > subset Filename of Str where { $_ ~~ :f } > has Filename $.filename is rw; > } > my $foo = Foo.new(filename => 'no_such_file'); > > We get this error: > > Assignment type check failed; expected , but got Str > in Main (file <unknown>, line <unknown>) > > This fails in master at db84bc06990c37b93fe987dcffab4ed9bf31de92 > > Cheers, > Ovid
This no longer fails at all, which seems wrong. (exits successfully, printing nothing.) -- Will "Coke" Coleda