Integrated: 8290379: Parse error with parenthesized pattern and guard using an array

Aggelos Biboudis abimpoudis at openjdk.org
Tue Jul 19 09:06:59 UTC 2022


On Fri, 15 Jul 2022 16:15:52 GMT, Aggelos Biboudis <abimpoudis at openjdk.org> wrote:

> Addresses the parsing error for the following case:
> 
> case (String s) when (arr[0] == 1) -> 0;

This pull request has now been integrated.

Changeset: f5a7de86
Author:    Aggelos Biboudis <abimpoudis at openjdk.org>
Committer: Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f5a7de86278ce019ffe44a92921dbb4018451a73
Stats:     54 lines in 2 files changed: 53 ins; 0 del; 1 mod

8290379: Parse error with parenthesized pattern and guard using an array

Reviewed-by: jlahoda

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

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


More information about the compiler-dev mailing list