RFR: 8290379: Parse error with parenthesized pattern and guard using an array [v2]

Aggelos Biboudis abimpoudis at openjdk.org
Mon Jul 18 15:34:47 UTC 2022


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

Aggelos Biboudis has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:

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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9519/files
  - new: https://git.openjdk.org/jdk/pull/9519/files/32cd4677..0fb22ebe

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9519&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9519&range=00-01

  Stats: 3 lines in 1 file changed: 0 ins; 2 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/9519.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9519/head:pull/9519

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


More information about the compiler-dev mailing list