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

remove global variable refstop #8892

Merged
merged 1 commit into from
Nov 3, 2018
Merged

Conversation

WalterBright
Copy link
Member

This illustrates how nicely nested functions can make code better, in this case, by eliminating an ugly global variable. (It makes it easy to capture state with local variables.)

@WalterBright WalterBright added the Severity:Refactoring No semantic changes to code label Oct 30, 2018
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub fetch digger
dub run digger -- build "master + dmd#8892"

@WalterBright WalterBright merged commit 9f2acc3 into dlang:master Nov 3, 2018
@WalterBright WalterBright deleted the refstop branch November 3, 2018 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Merge:auto-merge Severity:Refactoring No semantic changes to code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants