-
Notifications
You must be signed in to change notification settings - Fork 22
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
Re-enable REPL completion for GAP records in Julia 1.10 #914
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #914 +/- ##
=======================================
Coverage 75.56% 75.56%
=======================================
Files 51 51
Lines 4170 4170
=======================================
Hits 3151 3151
Misses 1019 1019
|
Weird. The CI on 1.10 keeps failing. But locally on my laptop with Julia 1.10.0-alpha1, the tests pass just fine. |
@fingolfin The same happens in my installation of 1.10.0-alpha1. |
318d8d6
to
a3c27ab
Compare
I figured out how to reproduce the errors locally: by enabling coverage, i.e., Indeed, I can also reproduce the problem interactively if I start Julia with the option So why does code coverage break this? Huh. |
@fingolfin I can confirm your observation: When Julia 1.10 is started with Very strange. |
I have run the two Julia sessions (with and without I get a difference at (Inside |
I wonder if code coverage collection interferes in some way with |
OK this is a known thing, see JuliaLang/julia#49978 |
Based on that bug and the discussion on the Julia slack, I think the best solution for now is to just skip this test when code coverage tracking is on. It'll still work in REPL mode for 99.9% of users (I think people rarely turn on code coverage tracking for interactive use) |
The added annotation might also benefit performance of some code
The added annotation might also benefit performance of some code.
Thanks to @aviatesk who helpfully suggested this in this comment.