-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
x/tools/go/packages: log.Fatalf inside library routine #45584
Comments
I added some debug prints and am pretty confused.
This all looks fine. Reading the fmt export data will build stub packages for a bunch of its dependencies. |
I found it. impliedLoadMode should set NeedImports for NeedExportFile. Will send CL. |
Change https://golang.org/cl/310512 mentions this issue: |
@rsc @matloob @aclements ping. Should it still be merged? |
Fixes golang/go#45584. Change-Id: I65238cc3bdc640bb044c615a5699e8d3cfa39db0
Fixes golang/go#45584. Change-Id: I65238cc3bdc640bb044c615a5699e8d3cfa39db0
@rsc, what's the status here? Were you going to merge your changes? |
Go 1.18 is out! So we should run tests on it. gqlgen had some issues with it (see 99designs/gqlgen#1961 and golang/go#45584) so I updated that too, which updated some other things. Test plan: make check
Go 1.18 is out! So we should run tests on it. Additionally, gqlgen had some issues with it (see 99designs/gqlgen#1961 and golang/go#45584) so I updated that too, which updated some other things. Finally, latest gqlgen requires 1.16+, and it's time for us to do the same anyway, so we can use `embed` and other newer goodies. So I dropped running tests for 1.14 and 1.15, and bumped the module language version. Test plan: make check
Go 1.18 is out! So we should run tests on it. Additionally, gqlgen had some issues with it (see 99designs/gqlgen#1961 and golang/go#45584) so I updated that too, which updated some other things. Finally, latest gqlgen requires 1.16+, and it's time for us to do the same anyway, so we can use `embed` and other newer goodies. So I dropped running tests for 1.14 and 1.15, and bumped the module language version. Test plan: make check
The current version we use now crashes with go1.19: golang/go#45584
The current version we use now crashes with go1.19: golang/go#45584
Versions below and v0.1.10 are sometimes causing problems for, e.g., check-monkit. Example failure: check-monkit ./... monkitunused: Unexpected package creation during export data loading Related to golang/go#45584 (includes an explanation for the issue). Change-Id: Icbd08570e8b0da869cf8c87ad024d150fac663af
This program triggers a log.Fatalf inside golang.org/x/tools/go/packages.
The text was updated successfully, but these errors were encountered: