Integrated: 8326204: yield statements doesn't allow cast expressions with more than 1 type arguments

Aggelos Biboudis abimpoudis at openjdk.org
Thu Mar 14 07:04:47 UTC 2024


On Mon, 11 Mar 2024 14:23:38 GMT, Aggelos Biboudis <abimpoudis at openjdk.org> wrote:

> A valid use of `yield` that includes a cast to a generic type with multiple parameters, was misdetected by `blockStatement` in parser. This PR addresses this issue.

This pull request has now been integrated.

Changeset: cff0747d
Author:    Aggelos Biboudis <abimpoudis at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cff0747d7f62efc3dafcd259ef2b15cd13bafbeb
Stats:     78 lines in 4 files changed: 77 ins; 0 del; 1 mod

8326204: yield statements doesn't allow cast expressions with more than 1 type arguments

Reviewed-by: jlahoda

-------------

PR: https://git.openjdk.org/jdk/pull/18196


More information about the compiler-dev mailing list