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

Closed
p6rt opened this issue Apr 23, 2017 · 2 comments
Closed

#| Doesn't parse POD formatting #6203

p6rt opened this issue Apr 23, 2017 · 2 comments
Labels
duplicate This issue or pull request already exists POD

Comments

@p6rt
Copy link

p6rt commented Apr 23, 2017

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

Searchable as RT131196$

@p6rt
Copy link
Author

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
@JJ JJ added the duplicate This issue or pull request already exists label Dec 30, 2020
@JJ
Copy link

JJ commented Dec 30, 2020

Duplicate of #4754

@JJ JJ marked this as a duplicate of #4754 Dec 30, 2020
@JJ JJ closed this as completed Dec 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists POD
Projects
None yet
Development

No branches or pull requests

2 participants