-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
@time_imports
giving ERROR: type Pair has no field id
on nightly
#48590
Comments
Introduced in #48513 (which got backported to 1.9) |
I wasn't able to reproduce this, but the fix is pretty simple for extid in EXT_DORMITORY
if extid[2].id == pkg # <===
print(extid[2].parentid.name, " → ") #<===
break
end
end dictionary iteration giving pairs is very big pet peeve of mine. |
EXT_DORMATORY should not contain Also, looks like |
IO exceptions aside, it seems this is just looking for the parent of the current extension #47945 though I will defer to @IanButterworth who wrote it. |
Mea culpa.. forgot to add tests in #47945
AFAIK the logging system is too inflexible to:
|
From a UX perspective it's also supposed to be more aligned with |
FYI #48513 broke the whole logic of your printing system :). |
Given you've started looking into this, it might be worth starting a PR with a test? I'm not sure when I'll have time |
I'll see if I can think of something, though we might defer loading extensions to the end after loading every normal package. We might want to invert and print the parent when loading the extension though. |
As I said, building it on top of #48586 should be trivial. Just grab the extension from |
Should be fixed in the second commit in #48586. |
Thanks! |
We should still probably have a test for this. |
I should note that there is the odd behavior that if I start julia, do
@time_imports using CSV
then it will work, but if I do@time_imports using LocalDevPrivatePackage
then it will fail with the below trace. Once this one fails, then all subsequent@time_imports
fail. I also checked that justusing LocalDevPrivatePackage
works fine.happy to provide more info, but im not sure what else is relevant here
mwe:
trace:
versioninfo():
I can't share my manifest due to a bunch of private packages.
The text was updated successfully, but these errors were encountered: