Open noopur2507 opened 1 month ago
I think we are ill prepared to deal with unnamed patterns at that point.
@subyssurendran666 - Per Manoj's request can you please take this up ? Thanks, I am unable to assign this to you
@subyssurendran666 can you please take this up?
@subyssurendran666 can you please take this up?
Sure @mpalat
@subyssurendran666 - I believe we will have to do a design change here - Neither The changes to SVD (SingleVariableDeclaration) nor the NullType/NoType pattern look like the right approach - agree that I am also culprit to these proposals, but both do not seem perfect - rather each resonates an afterthought. I believe we should be looking at an approach similar to TypeElided LambdaExpression as we initially planned. Would suggest to create a new issue to investigate such a design change. Specifically the suggestion is to replace SVD in TypePattern with Parameters. Let us go down that path and see whether we get a more appropriate solution. will discuss. Thanks!
Have this code in a Java 22 project. Just click or type anything in this file. We get the following error messages in the Error Log view: