Community
Participate
Working Groups
We should introduce XAbstractFeatureCall#implicitFirstArgument in addition to the #implicitReceiver and update the FeatureCall2JavaMapping. This will allow overloaded 'this' and class Thing { @Inject extension ThingExt foo() { bar() } } class ThingExt { bar(Thing t) {} }
We decided to not do this, as it would make feature resolution even more complicated. We couldn't oversee all problems and wanted to be able to learn in real-world projects whether this is worth the added complexity. Making it an enhancement and removing the scheduling flags.
I close this for now, as we agreed on not supporting variable name shadowing. If it at some point it is important enough to reconsider it shouldn't be a problem to add a new feature request.