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

traits with private data #7

Open
opcodewriter opened this issue Apr 1, 2016 · 1 comment
Open

traits with private data #7

opcodewriter opened this issue Apr 1, 2016 · 1 comment

Comments

@opcodewriter
Copy link

Is it possible to have a trait with private properties?

@maiermic
Copy link

maiermic commented Apr 1, 2016

You can use lexical encapsulation, mentioned here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants