Skip Menu |
Report information
Id: 131530
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: amkhlv [at]

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)

Date: Wed, 07 Jun 2017 15:22:26 -0300
From: Andrei Mikhailov <a.mkhlv [...]>
Subject: [BUG] Perl6 REPL forgets the definition of infix sub
To: rakudobug [...]
Download (untitled) / with headers
text/plain 458b
This is Rakudo version 2017.04.3-292-ga61746fed built on MoarVM version 2017.04-68-g5f233249 implementing Perl 6.c. Executing the command "perl6" starts the normal REPL environment. In the first line I define: sub infix:<w> { $^a + $^b } and press ENTER. Then, in the next line: 1 w 2 ===SORRY!=== Error while compiling: Two terms in a row ------> say 1⏏ w 2 It seems that REPL forgets the definitions of infix subs. This only happens with infix.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at