We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A form of rules that will generate attributes on the calling meta-class.
Rule1: a=INT Rule2; Rule2: b=STRING;
Rule2 is called directly (not from an assignment) thus b attribute will be created on Rule1 instance. Rule2 instance will not be instantiated.
Rule2
b
Rule1
The text was updated successfully, but these errors were encountered:
I was just about to ask about this 👍
In my case, I just expected this as default behavior and I guess I would not be the only one.
Sorry, something went wrong.
Yep. Definitely should be the default behaviour. It would reduce grammar boilerplate in some cases.
No branches or pull requests
A form of rules that will generate attributes on the calling meta-class.
Rule2
is called directly (not from an assignment) thusb
attribute will be created onRule1
instance.Rule2
instance will not be instantiated.The text was updated successfully, but these errors were encountered: