New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perl6 REPL forgets the definition of infix sub #6333
Comments
From amkhlv@gmail.comThis is Rakudo version 2017.04.3-292-ga61746fed built on MoarVM version 2017.04-68-g5f233249 Executing the command "perl6" starts the normal REPL environment. sub infix:<w> { and press ENTER. Then, in the next line: 1 w 2 ===SORRY!=== Error while compiling: It seems that REPL forgets the definitions of infix subs. This only happens with infix. |
From @bduggan
Looks like this happens with at least postfix and postcircumfix, too:
|
From @bdugganI've written this snippet to help diagnose the issue: https://gist.github.com/bduggan/cd2da7ac41da9bdadca4ee80d5e61ce1 (also attached) This demonstrates the behavior of the internal REPL. I'm not sure |
Migrated from rt.perl.org#131530 (status was 'new')
Searchable as RT131530$
The text was updated successfully, but these errors were encountered: