# New Ticket Created by grond...@yahoo.fr # Please include the string: [perl #126269] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=126269 >
$ perl6 --version This is perl6 version 2015.09-236-g0cca607 built on MoarVM version 2015.09-50-g6b1e755 The following two expressions should give the same result: $ perl6 -e 'say ([o] (1 + 1/*), (2 + 1/*))(Inf);' 1.5 $ perl6 -e 'say ([o] (++$ + 1/*) xx 2)(Inf);' 3 As you can see, they don't. Instead "3" seems to be the result of: $ perl6 -e 'say ([o] (2 + 1/*), (1 + 1/*))(Inf);' 3 For context, I was trying to implement a continued fraction with a reduced composition operator. The expressions above are the smallest codes I could write to reproduce the issue.