-
Notifications
You must be signed in to change notification settings - Fork 139
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
[Patterns] Cumulative fixes for various problems #2011
[Patterns] Cumulative fixes for various problems #2011
Conversation
bcbf82a
to
f5736ee
Compare
50692f9
to
8bea15f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
merge please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry - approved by mistake -
will wait until it is fully ready
f056035
to
dfb8bba
Compare
Hello David (@datho7561) - I am mostly done with cleaning up the pattern matching implementation. This branch contains a bunch of fixes that were late for 4.31 and so are being accumulated here. Once master opens for 4.32 development, (March 2nd) I will merge these in. The most recent two commits concern your past work - you are welcome to review them and report any problems. I invite you to review all the changes not just those two commit if time permits. If you want to continue your work on #1742 - you will have to study Where are you on #1742 ?? If you are able to bring it up to date with this branch (not master), I can look into absorbing it. Is that PR fully functional ? What is missing if anything ? |
I'll spend some time rebasing that PR onto this one. Most of my changes for the parsing aspect shouldn't cause conflicts. I'll need to add my code generation changes, and that's where the conflicts will be. I think your refactoring will make the code generation code simpler. |
24e7247
to
1bfc417
Compare
1bfc417
to
e3da39a
Compare
Hi David (@datho7561) the most recent commit made for #2044 may impact you too - but should be in a good way overall. |
33379f1
to
bb94409
Compare
possibly involving record pattern type inference * Apply missing capture conversion. * Apply upward projection on the component type not on record type. * Fix spurious code in RecordPattern.dominates * Ignore parameterization when checking whether a class is a permitted subclass of a sealed class Fixes eclipse-jdt#2007
Co-authored-by: David Thompson <[email protected]> Signed-off-by: David Thompson <[email protected]>
from guard expression * Fixes eclipse-jdt#2077
* Use JavaFeature rather than ad-hoc checks for feature availability * Fix compiler crash when translating non-looping while loops * Remove superfluous calls to recordInitializationStates and safeInitsWhenTrue * Align with JLS on terminology of unguarded patterns
8b2de1c
to
2c942de
Compare
2c942de
to
1b7735e
Compare
Fixes test fail `HierarchicalASTVisitor must be updated to reflect a change in the ASTNode hierarchy. No method visit(EitherOrMultiPattern) was found in HierarchicalASTVisitor.` See eclipse-jdt/eclipse.jdt.core#2011
Fixes test fail `HierarchicalASTVisitor must be updated to reflect a change in the ASTNode hierarchy. No method visit(EitherOrMultiPattern) was found in HierarchicalASTVisitor.` See eclipse-jdt/eclipse.jdt.core#2011
Fixes test fail `HierarchicalASTVisitor must be updated to reflect a change in the ASTNode hierarchy. No method visit(EitherOrMultiPattern) was found in HierarchicalASTVisitor.` See eclipse-jdt/eclipse.jdt.core#2011
Fixes test fail `HierarchicalASTVisitor must be updated to reflect a change in the ASTNode hierarchy. No method visit(EitherOrMultiPattern) was found in HierarchicalASTVisitor.` See eclipse-jdt/eclipse.jdt.core#2011
What it does
obj instanceof Dog
#92How to test
Author checklist