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

Accessing fields inside an strong-typed extension #497

Closed
arakov opened this issue Mar 6, 2020 · 1 comment
Closed

Accessing fields inside an strong-typed extension #497

arakov opened this issue Mar 6, 2020 · 1 comment
Labels
Feature request New language feature

Comments

@arakov
Copy link
Member

arakov commented Mar 6, 2020

Should extensions has an access to the fields / static fields / class constants?

@arakov arakov added the Feature request New language feature label Mar 6, 2020
@arakov
Copy link
Member Author

arakov commented May 3, 2024

It is better to allow extension to have an access only to public / internal methods. Instead static methods have an access to its own class private methods

@arakov arakov closed this as completed May 3, 2024
@arakov arakov mentioned this issue May 7, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request New language feature
Projects
None yet
Development

No branches or pull requests

1 participant