On Fri May 27 04:40:05 2016, elizabeth wrote:
>
> > The following code started to fail on rakudo-j:
> >
> > $ perl6-j -e '(3/0).Num'
> > java.lang.ArithmeticException: BigInteger divide by zero
> >  in block <unit> at -e line 1
> >
> > The test still passed on commit a5c46bb7f4 (2016-05-25) and fails on
> > commit 1ab1fb6f18 (2016-05-26).
> 
> Could you provide me with an —ll-exception trace?  Or is there none?

Oh, there is. I was a bit in a hurry this morning.

$ ./perl6-j --ll-exception -e '(3/0).Num'
java.lang.ArithmeticException: BigInteger divide by zero
  in Num (gen/jvm/CORE.setting:19733)
  in <unit> (-e:1)
  in <unit-outer> (-e:1)
  in eval (gen/jvm/stage2/NQPHLL.nqp:1198)
  in eval (src/Perl6/Compiler.nqp:171)
  in  (gen/jvm/stage2/NQPHLL.nqp:1288)
  in command_eval (gen/jvm/stage2/NQPHLL.nqp:1285)
  in command_eval (src/Perl6/Compiler.nqp:29)
  in command_line (gen/jvm/stage2/NQPHLL.nqp:1269)
  in MAIN (gen/jvm/main.nqp:37)
  in <mainline> (gen/jvm/main.nqp:33)
  in  (gen/jvm/main.nqp)

Actually the code starts to fail with commit 498d0a4ae4.

Christian

Reply via email to