Skip to content
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

Misparsing of postcircumfix operator (or LTA error message) #5497

Open
p6rt opened this issue Jul 28, 2016 · 1 comment
Open

Misparsing of postcircumfix operator (or LTA error message) #5497

p6rt opened this issue Jul 28, 2016 · 1 comment
Labels
Bug

Comments

@p6rt
Copy link

@p6rt p6rt commented Jul 28, 2016

Migrated from rt.perl.org#128761 (status was 'new')

Searchable as RT128761$

@p6rt

This comment has been minimized.

Copy link
Author

@p6rt p6rt commented Jul 28, 2016

From damian@conway.org

perl6 --version
This is Rakudo version 2016.07.1 built on MoarVM version 2016.07
implementing Perl 6.c.

A postcircumfix operator that uses '>' as its closing delimiter is not
correctly recognized. For example​:

  sub postcircumfix​:« ¦ > » ($p, $v) {
  return $v => $p;
  }

  say 0.5¦'alive'>;

produces​:

  Missing required term after infix
  at /Users/damian/tmp/temporary_file.p6​:8
  ------> say 0.5¦'alive'>⏏;
  expecting any of​:
  prefix
  term

The same behaviour is observed when any other character that can be an
infix operator is
used as a closing delimiter.

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.