[perl #130470] [JVM] Many test failures due to X::Method::NotFound instead of X::Assignment::RO

2017-01-01 Thread Christian Bartolomaeus via RT
The tests are passing again. I'm closing this ticket.


[perl #130470] [JVM] Many test failures due to X::Method::NotFound instead of X::Assignment::RO

2017-01-01 Thread Christian Bartolomaeus via RT
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 = .Mix; $m = 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  at -e line 1

$ ./perl6-j --ll-exception -e 'my $m = .Mix; $m = 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  (-e:1)
  in  (-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  (gen/jvm/main.nqp:38)
  in  (gen/jvm/main.nqp)


Re: [perl #130470] [JVM] Many test failures due to X::Method::NotFound instead of X::Assignment::RO

2016-12-31 Thread Elizabeth Mattijsen
What is the method that isn’t found?  Maybe we need to add it for the JVM ?

> On 31 Dec 2016, at 19:41, Christian Bartolomaeus (via RT) 
>  wrote:
> 
> # New Ticket Created by  Christian Bartolomaeus 
> # Please include the string:  [perl #130470]
> # in the subject line of all future correspondence about this issue. 
> # https://rt.perl.org/Ticket/Display.html?id=130470 >
> 
> 
> There are many test failures for rakudo-j because
> X::Method::NotFound is returned instead of X::Assignment::RO.
> 
> I'm going to fudge those tests and will look into the issue.



[perl #130470] [JVM] Many test failures due to X::Method::NotFound instead of X::Assignment::RO

2016-12-31 Thread via RT
# New Ticket Created by  Christian Bartolomaeus 
# Please include the string:  [perl #130470]
# in the subject line of all future correspondence about this issue. 
# https://rt.perl.org/Ticket/Display.html?id=130470 >


There are many test failures for rakudo-j because
X::Method::NotFound is returned instead of X::Assignment::RO.

I'm going to fudge those tests and will look into the issue.