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

Enable set operations between AbstractIndices and abitrary itr #102

Merged
merged 1 commit into from
Jun 2, 2022

Conversation

BSnelling
Copy link
Contributor

@BSnelling BSnelling commented May 5, 2022

Relaxes the types on the mutating methods of set operations so as to match the dispatch pattern in Base. This means that set operations where the first argument is <:AbstractIndices and the second is any valid itr will return an Indices with the result.

Fix for #100

Copy link
Owner

@andyferris andyferris left a comment

Choose a reason for hiding this comment

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

Yeah this is a good idea - thanks!

@codecov
Copy link

codecov bot commented Jun 2, 2022

Codecov Report

Merging #102 (b96ad93) into master (1510dac) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #102      +/-   ##
==========================================
+ Coverage   77.08%   77.11%   +0.02%     
==========================================
  Files          18       18              
  Lines        1999     2001       +2     
==========================================
+ Hits         1541     1543       +2     
  Misses        458      458              
Impacted Files Coverage Δ
src/insertion.jl 71.00% <100.00%> (ø)
src/AbstractDictionary.jl 85.81% <0.00%> (+0.10%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1510dac...b96ad93. Read the comment docs.

@andyferris andyferris merged commit 024daeb into andyferris:master Jun 2, 2022
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.

2 participants