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

Rubydoc missing curly brace characters #803

Open
lulalala opened this issue May 28, 2021 · 0 comments
Open

Rubydoc missing curly brace characters #803

lulalala opened this issue May 28, 2021 · 0 comments

Comments

@lulalala
Copy link

lulalala commented May 28, 2021

I was reading through the documentation on Rubydoc:
https://www.rubydoc.info/gems/parser/Parser/Source/TreeRewriter

If you read the heading of "Multiple actions at the same end points:", it says:

The resulting string will be 'puts(=> [:everybody])'

The :hello is missing.

When I look at the github source code, the :hello is there: https://github.com/whitequark/parser/blob/master/lib/parser/source/tree_rewriter.rb#L46

It seems Rubydoc will remove things wrapped inside the curly brace {}.

Not sure how this can be mitigated though.

@lulalala lulalala changed the title Rubydoc missing characeters Rubydoc missing curly brace characters May 28, 2021
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