Skip to content

Fix postfix :nodoc: #496

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

Merged
merged 2 commits into from
Aug 22, 2017
Merged

Fix postfix :nodoc: #496

merged 2 commits into from
Aug 22, 2017

Conversation

aycabta
Copy link
Member

@aycabta aycabta commented Aug 18, 2017

In parse_statements, when TkEND === tk and nest == 0, checks postfix :nodoc: for class even where inside methods. So if a method has postfix :nodoc:, it raises strange behavior.

This Pull Request fixes it.

In parse_statements, when TkEND === tk and nest == 0,
checks postfix :nodoc: for class even where inside methods.
So if a method has postfix :nodoc:,
it raises strange behavior.
This commit fixes it.
@hsbt hsbt self-assigned this Aug 22, 2017
@hsbt
Copy link
Member

hsbt commented Aug 22, 2017

Thanks. It's useful fixes.

@hsbt hsbt merged commit 31658f2 into ruby:master Aug 22, 2017
@aycabta aycabta deleted the fix-postfix-nodoc branch August 22, 2017 11:20
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

Successfully merging this pull request may close these issues.

2 participants