FAQ
# New Ticket Created by Christian Bartolomaeus
# Please include the string: [perl #128264]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=128264 >


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).

Search Discussions

  • Elizabeth Mattijsen at May 27, 2016 at 11:39 am

    On 27 May 2016, at 06:29, Christian Bartolomaeus (via RT) wrote:

    # New Ticket Created by Christian Bartolomaeus
    # Please include the string: [perl #128264]
    # in the subject line of all future correspondence about this issue.
    # <URL: https://rt.perl.org/Ticket/Display.html?id=128264 >


    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?



    Liz
  • Christian Bartolomaeus via RT at May 27, 2016 at 8:06 pm

    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl6-compiler @
categoriesperl
postedMay 27, '16 at 4:29a
activeMay 27, '16 at 8:06p
posts3
users2
websiteperl6.org

People

Translate

site design / logo © 2019 Grokbase