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


Hello.

I use Rakudo Perl 2012.08.

$ perl6 -v
This is perl6 version 2012.08 built on parrot 4.4.0 revision RELEASE_4_4_0
$ uname -a
Linux office 3.2.0-29-generic-pae #46-Ubuntu SMP Fri Jul 27 17:25:43
UTC 2012 i686 i686 i386 GNU/Linux

It seems that I found a bug in x operator. The following code works fine:

$ perl6
> "str" x 0

Meanwhile this code creates an infinite loop:

> my Int $x;
Int()
> "str" x $x

I'm pretty sure that such behavior is incorrect.

Reply via email to