Skip to content

Update class-based @hideconstructor example to make it a singleton #199

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aral
Copy link

@aral aral commented Mar 21, 2020

In the existing example, the class wasn’t a singleton. This revision makes it into one and clarifies that use case for the @hideconstructor tag.

In the existing example, the class wasn’t a singleton. This revision makes it into one and clarifies that use case for the `@hideconstructor` tag.
@aral aral changed the title Update class-based example to make it a singleton Update class-based @hideconstructor example to make it a singleton Mar 21, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant