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

Fix fitting header regression with broken comment traversing #37

Merged
merged 3 commits into from
Oct 9, 2018

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Oct 8, 2018

#34's improvement causes broken traverse of fitting comments.

if (target === undefined) return

This return had meant as to continue loop in iterate function. It will exit from the parent function in for-of loop.

Our test had not covered in this case. We've added the test of fitting comment with post-token at 04ce579.

@yhatt yhatt added the bug Something isn't working label Oct 8, 2018
@yhatt yhatt changed the title Fix broken fitting comment traverse Fix fitting header regression with broken comment traversing Oct 9, 2018
@yhatt yhatt merged commit 6efa871 into master Oct 9, 2018
@yhatt yhatt deleted the bugfix-fitting branch October 9, 2018 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant