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

Multi-line comments before role causes punning #5835

Closed
p6rt opened this issue Nov 28, 2016 · 4 comments
Closed

Multi-line comments before role causes punning #5835

p6rt opened this issue Nov 28, 2016 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Nov 28, 2016

Migrated from rt.perl.org#130208 (status was 'resolved')

Searchable as RT130208$

@p6rt
Copy link
Author

p6rt commented Nov 28, 2016

From mark@orbislumen.net

Multi-line comments in the form of #|{ } cause punning when before role
definition.

However, #`{ } does not.

https://gist.github.com/adaptiveoptics/6c58095c5dd99d725487989c282f9214

https://irclog.perlgeek.de/perl6/2016-11-28#i_13644451

@p6rt
Copy link
Author

p6rt commented Jan 3, 2017

From @jnthn

On Mon, 28 Nov 2016 15​:20​:12 -0800, mark@​orbislumen.net wrote​:

Multi-line comments in the form of #|{ } cause punning when before role
definition.

However, #`{ } does not.

https://gist.github.com/adaptiveoptics/6c58095c5dd99d725487989c282f9214

The former is a Pod documentation attachment, while the latter is purely a comment, which is why it wasn't afflicted. Fixed the bug, and added a test to cover it in S26-documentation/block-leading.t.

/jnthn

@p6rt
Copy link
Author

p6rt commented Jan 3, 2017

The RT System itself - Status changed from 'new' to 'open'

@p6rt p6rt closed this as completed Jan 3, 2017
@p6rt
Copy link
Author

p6rt commented Jan 3, 2017

@jnthn - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant