On Sat, 31 Oct 2015 20:35:24 -0700, coke wrote:
Many tests in S03-operators/increment.t are throwing ad hoc exceptions
instead of X::Parameter::RW
There have been some changes in this area:
1) With roast commit Raku/roast@93736e7f73 the failing tests have been changed from expecting X::Parameter::RW to X::Multi::NoMatch.
2) After some recent changes to the multi method cache (Raku/nqp@567f6568f1) only one test in S03-operators/increment.t is failing due to not throwing X::Multi::NoMatch:
$ ./perl6-j -Ilib -e 'use Test; throws-like q[my $x = 0; ++++$x], X::Multi::NoMatch'
ok 1 - 'my $x = 0; ++++$x' died
not ok 2 - right exception type (X::Multi::NoMatch)
# Failed test 'right exception type (X::Multi::NoMatch)'
# at gen/jvm/CORE.setting line 16869
# Expected: X::Multi::NoMatch
# Got: X::AdHoc
# Exception message: Cannot assign to a readonly variable or a value
# Looks like you failed 1 test of 2
not ok 1 - did we throws-like X::Multi::NoMatch?
# Failed test 'did we throws-like X::Multi::NoMatch?'
# at -e line 1
3) There are three other tests in roast with the same failure mode (and fudged with this ticket number):
Migrated from rt.perl.org#126531 (status was 'resolved')
Searchable as RT126531$
The text was updated successfully, but these errors were encountered: