Use isbindingresolved when checking imported packages#21580
Conversation
|
If ever I can figure out how to test this, should the change be backported to 0.6? |
|
Edit: Reading helps 😝 |
vchuravy
left a comment
There was a problem hiding this comment.
This is a notoriously difficult to test edge case since you need a binding in Base that is latent. The change per se is correct. But I haven't thought up a way of properly testing it besides doing Pkg.add("Iterators")....
|
we can do |
|
The problem is that just adding Iterators doesn't trigger it—Iterators has to be updated for it to happen. |
|
there is a part of the pkg test that does an update between 2 known points in metadata history, was there an Iterators update between them? |
3d503df to
d9522e4
Compare
|
Got it tested! 🎉 |
|
and that would fail without the change to base? |
|
Yep, tried it with and without. |
(cherry picked from commit d762038)
|
This appears to have broken the coverage buildbot (http://buildbot.e.ip.saba.us:8010/builders/coverage_ubuntu14.04-x64/builds/357/steps/Run%20inlined%20tests/logs/stdio) |
Fixes #21578
Marking as WIP until I can figure out how best to test this. Suggestions welcome.
Edit: Tested. 😎