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
For example, this expression:
{item1, item2} = o = new CustomObject!
compiles to this code:
ref$ = o = new CustomObject(), item1 = ref$.item1, item2 = ref$.item2;
but could be:
o = new CustomObject(), item1 = o.item1, item2 = o.item2;
as the new object is already assigned to o, additional reference variable is not needed. do you agree?
o
The text was updated successfully, but these errors were encountered:
Yes, I think I do agree. We'll have to be careful, though, about cases like
{a: o, b} = o = f!
which still require the ref$ variable.
ref$
Sorry, something went wrong.
I'll be careful, i promise :]
No branches or pull requests
For example, this expression:
compiles to this code:
but could be:
as the new object is already assigned to
o
, additional reference variable is not needed.do you agree?
The text was updated successfully, but these errors were encountered: