Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #7 +/- ##
=======================================
Coverage 10.05% 10.05%
=======================================
Files 12 12
Lines 577 577
=======================================
Hits 58 58
Misses 519 519 ☔ View full report in Codecov by Sentry. |
|
Making |
|
You're right. Figured out it is also not necessary. Using Potentially interesting could be to support two delegate expressions. An immutable one and a mutable one. |
|
@fsitok Using |
|
The difference between One alternative solution I thought of is to replace all The problem is that, in this case, |
|
So far we have just dealt with delegation targets in the form |
|
An alternative solution is to use destructuring. If we somehow write let Self { field, .. } = self;then it does not require any special handling for references, although it's specific to field support. |
The core fix makes a case distinction when the
delegate_exprisself.I'm not sure if the below check is the best way to check for equality to
self. But it works.