-
Notifications
You must be signed in to change notification settings - Fork 6
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
Visibility + LifeCycle #14
Comments
I like these, it's immediately obvious what they mean and how to use them. I have a few questions around How do you see permits being used, to do module-level privacy over multiple files? com/foo/bar/baz/module.dwl -
com/foo/module.dwl -
I assume There may be situations where a function is deprecated, but there's no replacement for it. An attribute like |
Yes the idea of I would add the Thanks @jerneyio ! |
I think the most reasonable thing to do would be to specify the visibility as a regex. Besides that, I've never seen a language where you specify an allow-list for the visibility what is the rationale behind it instead of validating a "private" "protected" or "package" modifiers from the importer's perspective? You will never know where you (or team or company) would like to use a function to allow it everywhere. |
Hi @menduz Also OSGI has the concept of x-friends http://blog.vogella.com/2010/05/25/x-friends-in-equinox/ that is basically the ones that can access internal stuff |
We are trying to kill a long debt on how to make element visibility available on DW and I'm trying to make it without changing the lang. So my proposal is using annotations. If this doesn't feel correct then we may need to change the grammar.
My first concern is permits being a string that represents a regex. So I think that we should either make it just a string that is prefix or change it to regex type.
Deprecated and Expermiental are ok
The text was updated successfully, but these errors were encountered: