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

implement ambiguity hint #71

Merged
merged 2 commits into from
Mar 2, 2022
Merged

Conversation

Roger-luo
Copy link
Contributor

resolve #52

@codecov
Copy link

codecov bot commented Feb 24, 2022

Codecov Report

Merging #71 (170076c) into master (d89d7f2) will increase coverage by 0.60%.
The diff coverage is 78.57%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #71      +/-   ##
==========================================
+ Coverage   73.05%   73.66%   +0.60%     
==========================================
  Files          10       10              
  Lines         605      619      +14     
==========================================
+ Hits          442      456      +14     
  Misses        163      163              
Flag Coverage Δ
unittests 73.66% <78.57%> (+0.60%) ⬆️

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

Impacted Files Coverage Δ
src/ambiguities.jl 83.65% <78.57%> (+0.32%) ⬆️
src/pkg/Versions.jl 51.17% <0.00%> (+0.78%) ⬆️

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 d89d7f2...170076c. Read the comment docs.

@Roger-luo
Copy link
Contributor Author

bump @tkf

@tkf tkf enabled auto-merge (squash) March 2, 2022 01:40
@tkf
Copy link
Member

tkf commented Mar 2, 2022

Thanks for the ping!

@tkf tkf merged commit d9f4f59 into JuliaTesting:master Mar 2, 2022
@tkf
Copy link
Member

tkf commented Mar 2, 2022

Registering JuliaRegistries/General#55764

@Roger-luo Roger-luo deleted the roger/ambiguity-hint branch March 2, 2022 20:26
sigfix = typeintersect(m2.sig, sigfix)
if isa(Base.unwrap_unionall(sigfix), DataType) && sigfix <: Tuple
let sigfix = sigfix
if all(m->Base.morespecific(sigfix, m.sig), [m1, m2])
Copy link
Contributor

@giordano giordano Mar 24, 2022

Choose a reason for hiding this comment

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

This broke Julia v1.0-1.3:

julia> Base.morespecific
ERROR: UndefVarError: morespecific not defined

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.

Is it possible to give "possible fix, define..." with ambiguity reporting?
3 participants