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

Update complete_symbol with changes from https://github.com/JuliaLang/julia/pull/49206 #14

Merged
merged 3 commits into from
Aug 24, 2023

Conversation

Pangoraw
Copy link
Contributor

@Pangoraw Pangoraw commented Aug 7, 2023

This updates the code taken from REPL.REPLCompletions with the changes
introduced in JuliaLang/julia#49206.

Otherwise, using FuzzyCompletions will complain about get_type and
get_value being undefined when precompiling and completely fail when
being used on the upcoming Julia 1.10 release.

Fixes #13.

This updates the code taken from `REPL.REPLCompletions` with the changes
introduced in JuliaLang/julia#49206.

Otherwise, `using FuzzyCompletions` will complain about `get_type` and
`get_value` being undefined when precompiling and completely fail when
being used on the upcoming Julia 1.10 release.

Co-authored-by: Shuhei Kadowaki <aviatesk@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Aug 7, 2023

Codecov Report

Merging #14 (dbfd479) into master (b0a5b5e) will increase coverage by 0.32%.
The diff coverage is 82.14%.

@@            Coverage Diff             @@
##           master      #14      +/-   ##
==========================================
+ Coverage   57.38%   57.71%   +0.32%     
==========================================
  Files           1        1              
  Lines         413      428      +15     
==========================================
+ Hits          237      247      +10     
- Misses        176      181       +5     
Flag Coverage Δ
unittests 57.71% <82.14%> (+0.32%) ⬆️

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

Files Changed Coverage Δ
src/FuzzyCompletions.jl 57.71% <82.14%> (+0.32%) ⬆️

@fonsp
Copy link
Contributor

fonsp commented Aug 21, 2023

@aviatesk Could you take a look? This is required to support Julia 1.10

@Pangoraw
Copy link
Contributor Author

I also bumped the version number in this PR (to 0.5.2) as it would be nice to have into a release for 1.10 users.

@aviatesk
Copy link
Member

Sorry for being super late to review this. Looks great. Thanks for your help!

@aviatesk
Copy link
Member

Test failures are due to changes made in #50412. I added additional change to make it pass tests (it turns out that our tests are not very robust against the changes in the fuzzyscore algorithm).

@aviatesk
Copy link
Member

And the failures in 1.6 are due to inferrability issues, which nobody would care at this point.

@aviatesk aviatesk merged commit f4b049e into JunoLab:master Aug 24, 2023
15 of 20 checks passed
@Pangoraw Pangoraw deleted the update_for_1_10 branch August 24, 2023 12:14
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.

Importing non-existing methods from REPLCompletions
4 participants