RFR: 8322810: Lambda expression types can't be classes [v7]
Maurizio Cimadamore
mcimadamore at openjdk.org
Fri Apr 11 15:47:27 UTC 2025
On Fri, 11 Apr 2025 15:38:12 GMT, Vicente Romero <vromero at openjdk.org> wrote:
> > If you want to go with the current code, that's fine by me. It just seemed a bit weird to have the same check in two different places. But we can also clean up in a follow up PR.
>
> I think we will need a component by component check anyways in order to produce more precise error messages, either where it is now or where you are suggesting it to be, just dealing with a flag seems cleaner but won't be as precise I think
Yes, but maybe after we revisit (e.g. if we allow annotations), then we can cleanup (later) ?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24548#discussion_r2039822641
More information about the compiler-dev
mailing list