On Sat, 31 Dec 2016 11:04:34 -0800, elizabeth wrote: > > There are many test failures for rakudo-j because > > X::Method::NotFound is returned instead of X::Assignment::RO. > > What is the method that isn’t found? Maybe we need to add it for the > JVM ?
I suspect the changes from https://github.com/rakudo/rakudo/pull/967 (and the mentioned nqp commit https://github.com/perl6/nqp/commit/49d6beb34a) to be the cause for the failures. Here is one example of the newly failing code: $ ./perl6-j -e 'my $m = <a>.Mix; $m<a> = 42.1' Method 'STORE' not found for invocant of class 'Int' in method ASSIGN-KEY at gen/jvm/CORE.setting line 2352 in sub postcircumfix:<{ }> at gen/jvm/CORE.setting line 8761 in block <unit> at -e line 1 $ ./perl6-j --ll-exception -e 'my $m = <a>.Mix; $m<a> = 42.1' Method 'STORE' not found for invocant of class 'Int' in ASSIGN-KEY (gen/jvm/CORE.setting:2352) in ASSIGN-KEY (gen/jvm/CORE.setting:2350) in postcircumfix:<{ }> (gen/jvm/CORE.setting:8761) in postcircumfix:<{ }> (gen/jvm/CORE.setting:8755) in <unit> (-e:1) in <unit-outer> (-e:1) in eval (gen/jvm/stage2/NQPHLL.nqp:1165) in (gen/jvm/stage2/NQPHLL.nqp:1255) in command_eval (gen/jvm/stage2/NQPHLL.nqp:1252) in command_eval (src/Perl6/Compiler.nqp:27) in command_line (gen/jvm/stage2/NQPHLL.nqp:1236) in MAIN (gen/jvm/main.nqp:47) in <mainline> (gen/jvm/main.nqp:38) in (gen/jvm/main.nqp)