JuliaLang / Compat.jl

Compatibility across Julia versions
Other
142 stars 117 forks source link

Fix 2-arg `@inferred` #796

Closed alyst closed 1 year ago

alyst commented 1 year ago

Fixes problems with 2-args @inferred when the inferred call has kwargs (#795). The problem was that the kwarg path uses non-imported calls from Test and InteractiveUtils. Now this is fixed, and the test is added.

alyst commented 1 year ago

@martinholters just did it

codecov[bot] commented 1 year ago

Codecov Report

Merging #796 (30b4705) into release-3 (3a03b54) will increase coverage by 0.37%. The diff coverage is n/a.

@@              Coverage Diff              @@
##           release-3     #796      +/-   ##
=============================================
+ Coverage      81.54%   81.92%   +0.37%     
=============================================
  Files              4        4              
  Lines            791      791              
=============================================
+ Hits             645      648       +3     
+ Misses           146      143       -3     
Impacted Files Coverage Δ
src/Compat.jl 82.20% <ø> (+0.43%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.