Skip to content

Conversation

@WalterBright
Copy link
Member

Fewer goto's, fewer lines of code, what's not to like?

@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 run digger -- build "master + dmd#12663"


static Initializer err()
{
return new ErrorInitializer();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(maybe out of the scope of this PR but) We have ErrorExp.get() as a singleton instance, why not ErrorInitializer.get() too?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A good idea, but for another PR.

@WalterBright WalterBright merged commit f1692f5 into dlang:master Jun 10, 2021
@WalterBright WalterBright deleted the initsemErr branch June 10, 2021 06:58
UplinkCoder pushed a commit to UplinkCoder/dmd that referenced this pull request Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants