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

Implement private types #8835

Open
Akirathan opened this issue Jan 23, 2024 · 3 comments
Open

Implement private types #8835

Akirathan opened this issue Jan 23, 2024 · 3 comments
Assignees
Labels
-compiler -syntax p-lowest Should be completed at some point x-new-feature Type: new feature request x-on-hold

Comments

@Akirathan
Copy link
Member

Akirathan commented Jan 23, 2024

Created from the discussion github.com/orgs/enso-org/discussions/7088

Implement private types. Private type implies that all the fields, constructors, and methods within are private.

Follow-up of #7304

Related to:

@radeusgd
Copy link
Member

This feels redundant. Is this particular feature needed?

It feels like this could be 'emulated' by placing the type inside of a private module (already implemented) + marking its constructors (#8836) and methods (#8834) as private.

@Akirathan Akirathan added the p-lowest Should be completed at some point label Jan 23, 2024
@Akirathan
Copy link
Member Author

This feels redundant. Is this particular feature needed?

@radeusgd Good point. Maybe not. Setting the priority to lowest.

@JaroslavTulach
Copy link
Member

I assume one can move private type into private module and then it is private. In such case we are don't need this feature urgently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-compiler -syntax p-lowest Should be completed at some point x-new-feature Type: new feature request x-on-hold
Projects
Status: New
Development

No branches or pull requests

3 participants