Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record pattern matching #368

Merged
merged 13 commits into from
Aug 20, 2024
Merged

Record pattern matching #368

merged 13 commits into from
Aug 20, 2024

Conversation

jaskarth
Copy link
Member

This PR implements record pattern matching for Vineflower. In order to implement this feature properly, I introduce a new option to switch out the try duplication strategy. Previously the decompiler would insert trampolines, but duplicating the handler is now preferred.

Currently still a WIP.

Copy link

github-actions bot commented Apr 12, 2024

Test Results

   18 files  ± 0     18 suites  ±0   1m 4s ⏱️ -1s
1 925 tests + 5  1 924 ✅ + 5  1 💤 ±0  0 ❌ ±0 
2 546 runs  +10  2 544 ✅ +10  2 💤 ±0  0 ❌ ±0 

Results for commit af7f656. ± Comparison against base commit 7092900.

♻️ This comment has been updated with latest results.

@jaskarth jaskarth added Type: Enhancement New feature or request Subsystem: Statement Structure Anything concerning how statements are structured in a method Priority: Medium Medium priority Subsystem: Parsing Anything concerning how bytecode is parsed and read labels Apr 17, 2024
@jaskarth jaskarth marked this pull request as ready for review August 20, 2024 17:52
@jaskarth jaskarth merged commit 49106c1 into develop/1.11.0 Aug 20, 2024
2 of 6 checks passed
jaskarth added a commit that referenced this pull request Aug 20, 2024
@jaskarth jaskarth deleted the record-pattern-matching branch August 23, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium Medium priority Subsystem: Parsing Anything concerning how bytecode is parsed and read Subsystem: Statement Structure Anything concerning how statements are structured in a method Type: Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants