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

Jan Lahoda jlahoda at openjdk.org
Fri Jul 1 18:13:36 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:

  Adding test, as suggested.

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

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

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

  Stats: 21 lines in 2 files changed: 20 ins; 0 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