-
Notifications
You must be signed in to change notification settings - Fork 48
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
revert broken commit - add test #318
Conversation
Since SnoopPrecompile 1.0 supports putting a method inside |
Let me know if you need something else, I'm not really into the |
Continuing from #317, the main issue is how to ensure that some of the workload in the |
Codecov ReportBase: 84.01% // Head: 84.08% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #318 +/- ##
==========================================
+ Coverage 84.01% 84.08% +0.07%
==========================================
Files 17 17
Lines 2165 2162 -3
==========================================
- Hits 1819 1818 -1
+ Misses 346 344 -2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Basically is your goal to ensure everything needed by |
I'm guessing there's another |
Yeah, that's probably an overkill to use |
I wouldn't necessarily call it overkill, I totally see why you'd do that. Just trying to come up with a solution that is as transparent to users about what will and what won't work. There's a real expectation that lines will be executed in the order in which they appear, but without special precautions that's not actually true. |
Hum, the pseudo |
I think it would be OK to restrict that test to Julia versions where it works. In my mind the point is to make sure we catch potential regressions; if it never worked in any SnoopPrecompile release, then we don't have to figure out how to make it work. |
|
Yep, see #300 |
Thanks for a very important contribution! |
@timholy, the added test breaks on
1.0.2
and not on1.0.1
.So I've reverted the changes of
1.0.2
and we can start working on a fix.I'm not sure if the precompilation scenario is valid code in
RecipesBase
(this is clearly a niche involving meta-programming), and I'd be happy to change some - considered invalid - but working statements in https://github.com/JuliaPlots/Plots.jl/blob/master/RecipesBase/src/RecipesBase.jl#L600-L619.