Skip to content

Java method args pattern match also work on runtime type#2766

Open
jbdoderlein wants to merge 1 commit intousethesource:mainfrom
jbdoderlein:java-method-pattern-match-on-runtime-type
Open

Java method args pattern match also work on runtime type#2766
jbdoderlein wants to merge 1 commit intousethesource:mainfrom
jbdoderlein:java-method-pattern-match-on-runtime-type

Conversation

@jbdoderlein
Copy link
Copy Markdown
Contributor

Fix for #2758

@sonarqubecloud
Copy link
Copy Markdown

@jbdoderlein
Copy link
Copy Markdown
Contributor Author

This may be in fact more complicated or not a good idea as I thought. The test fails on empty list because the index function is overridden by the one from ListRelation. This seems more to be a problem with function resolution, but it could break a lot of existing code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant