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

Enhance test_ambiguities' exclude options for functions with kwargs #204

Merged
merged 3 commits into from
Oct 31, 2023

Conversation

lgoettgens
Copy link
Collaborator

@lgoettgens lgoettgens commented Sep 28, 2023

Resolves #79.

After this change, excluding some foo additionally excludes all instances of Core.kwfunc(foo) that belong to foo (i.e. the third parameter of the signature is typeof(foo).

@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

Merging #204 (487b4b7) into master (dd5f929) will increase coverage by 0.39%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #204      +/-   ##
==========================================
+ Coverage   87.94%   88.33%   +0.39%     
==========================================
  Files          10       10              
  Lines         506      506              
==========================================
+ Hits          445      447       +2     
+ Misses         61       59       -2     
Flag Coverage Δ
unittests 88.33% <100.00%> (+0.39%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
src/ambiguities.jl 91.40% <100.00%> (+1.56%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@lgoettgens lgoettgens marked this pull request as ready for review September 28, 2023 15:05
@lgoettgens lgoettgens added this to the 0.8 milestone Oct 16, 2023
@lgoettgens lgoettgens force-pushed the lg/kwarg-ambiguities branch 4 times, most recently from d5e4efd to d8997ff Compare October 24, 2023 14:58
@lgoettgens lgoettgens requested review from fingolfin and removed request for fingolfin October 24, 2023 14:59
@lgoettgens lgoettgens mentioned this pull request Oct 26, 2023
Copy link
Collaborator

@fingolfin fingolfin left a comment

Choose a reason for hiding this comment

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

Looks good to me

@fingolfin fingolfin merged commit 8348f74 into JuliaTesting:master Oct 31, 2023
19 checks passed
@lgoettgens lgoettgens deleted the lg/kwarg-ambiguities branch October 31, 2023 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to skip ambiguities of keyword functions?
2 participants