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

small tweak to M2's callable sites count #6791

Merged
merged 1 commit into from
Sep 3, 2020
Merged

Conversation

davidbenjamin
Copy link
Contributor

@samuelklee Here's the small adjustment I mentioned in our discussion this morning.

@samuelklee
Copy link
Contributor

samuelklee commented Sep 3, 2020

Not really related to the original issue, but is not incrementing the count (regardless of depth) when we hit the first return statement in isActive intended behavior? If so, LGTM! Thanks for the quick action.

@davidbenjamin
Copy link
Contributor Author

Yes, that's as intended. The other returns are all for inactive sites, and we check the depth and increment if necessary at the beginning of the method.

@davidbenjamin davidbenjamin merged commit 3502d44 into master Sep 3, 2020
@davidbenjamin davidbenjamin deleted the db_filter_nan_bug branch September 3, 2020 19:52
@davidbenjamin davidbenjamin restored the db_filter_nan_bug branch September 3, 2020 19:52
@davidbenjamin davidbenjamin deleted the db_filter_nan_bug branch September 3, 2020 19:52
@samuelklee
Copy link
Contributor

samuelklee commented Sep 3, 2020

Is that right? There’s a return statement giving an active region at the very beginning of the method, no?

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