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: no-loop-func crashed (fixes #6130) #6138

Merged
merged 1 commit into from
May 13, 2016
Merged

Conversation

mysticatea
Copy link
Member

@mysticatea mysticatea commented May 11, 2016

Fixes #6130.

In let variable's cases, getTopLoopNode finds a loop node which directly contains the let declaration or exists after the let declaration. But, if there is not such loop node, no-loop-func had been crashing.

@eslintbot
Copy link

LGTM

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @vitorbal, @ilyavolodin and @lo1tuma to be potential reviewers

@mysticatea
Copy link
Member Author

@jquerybot seems to be down.

@ilyavolodin
Copy link
Member

LGTM. jquery bot is down, but I trust that you signed CLA:-)

@mysticatea mysticatea merged commit 67916b9 into master May 13, 2016
@mysticatea mysticatea deleted the no-loop-func/fix-crash branch May 13, 2016 13:25
@eslint-deprecated eslint-deprecated bot locked and limited conversation to collaborators Feb 6, 2018
@eslint-deprecated eslint-deprecated bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Feb 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants