[code-reflection] RFR: Support match all pattern
Mourad Abbay
mabbay at openjdk.org
Thu Sep 12 07:57:50 UTC 2024
Support match all pattern.
This PR is based on [227](https://github.com/openjdk/babylon/pull/227).
-------------
Commit messages:
- Support match all pattern for non-generic records
- Update the result type of TypePatternOp
- Keep Var that correspond to unnamed pattern variable
- Rename BindingPatternOp to TypePatternOp
- Pass null as binding-name when type pattern variable unnamed
- Update effected tests
- Update the model of pattern matching when pattern variable identifier is "_"
Changes: https://git.openjdk.org/babylon/pull/230/files
Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=230&range=00
Stats: 309 lines in 8 files changed: 81 ins; 0 del; 228 mod
Patch: https://git.openjdk.org/babylon/pull/230.diff
Fetch: git fetch https://git.openjdk.org/babylon.git pull/230/head:pull/230
PR: https://git.openjdk.org/babylon/pull/230
More information about the babylon-dev
mailing list