[jdk19] RFR: 8289196: Patttern domination not working property for record patterns [v3]

Jan Lahoda jlahoda at openjdk.org
Thu Jul 7 07:28:49 UTC 2022


> When checking that a pattern in a switch case is not dominated by a preceding pattern, handling for record pattern is mostly missing. This patch is attempting to fix that, and as it requires a bit more code, it moves the check into `Check`.

Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:

  Simplifying primitive pattern handling as suggested

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

Changes:
  - all: https://git.openjdk.org/jdk19/pull/84/files
  - new: https://git.openjdk.org/jdk19/pull/84/files/220fcc12..bf740ed1

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk19&pr=84&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk19&pr=84&range=01-02

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

PR: https://git.openjdk.org/jdk19/pull/84


More information about the compiler-dev mailing list