# New Ticket Created by  eater. 
# Please include the string:  [perl #131196]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=131196 >


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.

Reply via email to