RFR: 8204610: Compiler confused by parenthesized "this" in final fields assignments
Maurizio Cimadamore
maurizio.cimadamore at oracle.com
Mon Jun 11 20:21:11 UTC 2018
On 11/06/18 20:56, Liam Miller-Cushon wrote:
> Where does qualified 'this' fit in here (e.g. `TypeName.this.x = 1`)?
> Should it be handled similarly?
My 0.02$ is that they should be handles similarly.
>
> Related: JDK-8193904
>
> On Mon, Jun 11, 2018 at 12:43 PM Alex Buckley <alex.buckley at oracle.com
> <mailto:alex.buckley at oracle.com>> wrote:
>
> A finger-in-the-air guess the impact of this source-incompatible
> change:
> 1/4 the impact of banning `_` as a variable name.
>
>
> I'd be happy to help measure the impact of that change once there's a
> prototype.
Cool - I can cook up a patch for you to try out
Thanks
Maurizio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20180611/c04d60aa/attachment-0001.html>
More information about the compiler-dev
mailing list