Skip to content
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

cmd/go: make sure MainModules exists before modload.queryImport is called #48912

Open
matloob opened this issue Oct 11, 2021 · 0 comments
Open

cmd/go: make sure MainModules exists before modload.queryImport is called #48912

matloob opened this issue Oct 11, 2021 · 0 comments

Comments

@matloob
Copy link
Contributor

@matloob matloob commented Oct 11, 2021

modload.queryImport runs in come cases where MainModules doesn't exist but MainModules should probably exist in all cases before queryImport is called. Find out why MainModules doesn't exist in those cases.

cc @bcmills

@toothrot toothrot added this to the Backlog milestone Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants