like $@, qr{\bslurpy_middle\b};
}
-# ok !eval q[fun slurpy_positional(:@that) { return \@that; }];
-# like $@, qr{slurpy parameter \@that cannot be named, use a reference instead};
-#
-# TODO: {
-# local $TODO = "error message incorrect inside an eval";
-#
-# like $@, qr{Stuff::};
-# like $@, qr{slurpy_positional\(\)};
-# }
+ ok !eval q[fun slurpy_positional(:@that) { return \@that; }];
+ like $@, qr{\bnamed\b.+\@that\b.+\barray\b};
ok !eval q[fun slurpy_two($this, @that, @other) { return $this, \@that, \@other }];
like $@, qr{\@that\b.+\@other\b};