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

#| Doesn't parse POD formatting #6203

Open
p6rt opened this issue Apr 23, 2017 · 1 comment
Open

#| Doesn't parse POD formatting #6203

p6rt opened this issue Apr 23, 2017 · 1 comment
Labels
POD

Comments

@p6rt
Copy link

@p6rt p6rt commented Apr 23, 2017

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

Searchable as RT131196$

@p6rt

This comment has been minimized.

Copy link
Author

@p6rt p6rt commented Apr 23, 2017

From hello@eaterofco.de

When defining a `#|` above an function it will just take everything in
the comment as string and not parse it, while it should just parse the
POD formatting code.

eg.

  #| this is I<fine>
  sub test(){};
  say $=pod[0].leading;

will result in
"this is I<fine>"
instead of "this is fine" or ["this is",
Pod​::FormattingCode{​:type("C")}] or what ever magic we want to return
there :)

I tried to fix it, but as I'm not that experienced in this kind of field
I didn't get far​:
https://github.com/the-eater/rakudo/tree/fix-hash-pipe-comment-parsing

Regards,

eater.

@p6rt p6rt added the POD 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.