RFR: 8325859: potential information loss during type inference [v3]
Chen Liang
liach at openjdk.org
Mon May 12 12:37:53 UTC 2025
On Mon, 12 May 2025 11:06:28 GMT, Vicente Romero <vromero at openjdk.org> wrote:
>> src/jdk.compiler/share/classes/com/sun/tools/javac/comp/InferenceContext.java line 657:
>>
>>> 655: "Undet vars: " + undetvars + '\n';
>>> 656: /*
>>> 657: // keep it for debugging
>>
>> Should we control this with an `options.isSet` switch instead, maybe passing the options through Infer?
>
> yes we could do that, but then we will probably want to add a test for that option, etc, probably not worthy, also we could just drop this code
Let's drop this commented out debug stub then
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25011#discussion_r2084578294
More information about the compiler-dev
mailing list