Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kelvin-chappell
Copy link
Contributor

@kelvin-chappell kelvin-chappell commented Sep 10, 2020

This PR extends #4037 to enable effectual filter of Sets as well as other Collections.

After the introduction of #4037 any pre-existing client code that used a Set as an argument to filter had to be converted to use a covariant collection type instead. Here is an example. Now client code need not distinguish between Sets and any other type of Collection.

The reason Sets have to be treated differently has been discussed in the implementation of foreach here.

Co-authored-by: @mario-galic

@CLAassistant
Copy link

CLAassistant commented Sep 10, 2020

CLA assistant check
All committers have signed the CLA.

@kelvin-chappell
Copy link
Contributor Author

Tests are failing for reasons unrelated to this PR.

Copy link
Contributor

@adamgfraser adamgfraser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks for adding!

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.

3 participants