Skip to content

Avoid method dispatch ambiguities in DataFrames.jl#3179

Merged
bkamins merged 9 commits intomainfrom
bk/fix_ambiguities
Sep 26, 2022
Merged

Avoid method dispatch ambiguities in DataFrames.jl#3179
bkamins merged 9 commits intomainfrom
bk/fix_ambiguities

Conversation

@bkamins
Copy link
Copy Markdown
Member

@bkamins bkamins commented Sep 25, 2022

@nalimilan - this is a first step towards DataFrames.jl 1.4. release. To make sure things are precompiled correctly one of the recommendations is to avoid dispatch ambiguities. This recommendation makes sense in general.
This PR:

  • fixes these cases
  • fixes incorrect behavior that was detected when analyzing these ambiguities
  • makes sure that in the future we test for dispatch ambiguities and for unbound type parameters

I comment on the reasons for changes in the code.

@bkamins bkamins requested a review from nalimilan September 25, 2022 08:07
@bkamins bkamins added the bug label Sep 25, 2022
@bkamins bkamins added this to the 1.4 milestone Sep 25, 2022
@bkamins
Copy link
Copy Markdown
Member Author

bkamins commented Sep 25, 2022

I have updated the PR. The thing to check is the check_agrregate changes I added (I think they are correct, but these things are tricky).

Co-authored-by: Milan Bouchet-Valat <[email protected]>
@bkamins bkamins merged commit c3fd232 into main Sep 26, 2022
@bkamins bkamins deleted the bk/fix_ambiguities branch September 26, 2022 11:39
@bkamins
Copy link
Copy Markdown
Member Author

bkamins commented Sep 26, 2022

Thank you!

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants