[DAS] Adds completion option for some shadowed names
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +1 |
'$_enclosingPrefix$qualifier${element.displayName}';It's an error if both of these are non-empty strings (both here and on line 1136).
Consider adding an assert to ensure that `withEnclosingName` is never `true` when `qualifier` is non-empty. Or consider having two constructors, one that takes `withEnclosingName` and one that takes `qualifier`.
this?.callWhile technically correct, this is confusing. For the test we can tell the difference because you made them different kinds (thank you!). But for users I'm a bit concerned that it might be hard to tell them apart. I don't know what to do about it, but wanted to mention it.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
'$_enclosingPrefix$qualifier${element.displayName}';It's an error if both of these are non-empty strings (both here and on line 1136).
Consider adding an assert to ensure that `withEnclosingName` is never `true` when `qualifier` is non-empty. Or consider having two constructors, one that takes `withEnclosingName` and one that takes `qualifier`.
I've done a small refactor around the constructors for members here. So now they all have the same logic.
this?.callWhile technically correct, this is confusing. For the test we can tell the difference because you made them different kinds (thank you!). But for users I'm a bit concerned that it might be hard to tell them apart. I don't know what to do about it, but wanted to mention it.
Yes, I also thought so. Although I don't suspect this is really common, I just wanted to make sure we were covering this edge case correctly. I'm fine with removing the `this?.` option, but I think it would come up in so few cases that I think it's fine for us to tell users this is how their code is overlapping and could probably use a rename somewhere 😅.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |