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?
to your account
The compiler always create private fields:
In some cases, constants for instance, public and final fields are useful.
The text was updated successfully, but these errors were encountered:
Hm. I think since we're emulating Ruby's behavior it might make sense to default fields to protected. We could allow using @syntax to refer to private and public fields that are not constants.
Maybe for that we'd want to make a syntax for declarations in cases where you want to change the visibility.
Sorry, something went wrong.
No branches or pull requests