[code-reflection] RFR: Support match all pattern [v4]
Mourad Abbay
mabbay at openjdk.org
Wed Sep 18 13:53:48 UTC 2024
> Support match all pattern.
> This PR is based on [227](https://github.com/openjdk/babylon/pull/227).
Mourad Abbay has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 11 commits:
- Merge branch 'code-reflection' into match-all-pattern
# Conflicts:
# test/langtools/tools/javac/reflect/PatternsTest.java
- Apply suggestions
- Simplify test of match all pattern
- Update modeling of match all pattern
- 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
- ... and 1 more: https://git.openjdk.org/babylon/compare/a23e320c...2f521c0a
-------------
Changes: https://git.openjdk.org/babylon/pull/230/files
Webrev: https://webrevs.openjdk.org/?repo=babylon&pr=230&range=03
Stats: 103 lines in 4 files changed: 102 ins; 0 del; 1 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