Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
go/build: Import seems to require absolute srcDir #14282
While investigating go/types issue #14215, I noticed that (after fixing the obvious go/types bug), build.Import didn't find the desired package if srcDir was relative. Computing its absolute path (relative to cwd) fixed the problem.
Reminder to investigate behavior. Fix and/or document.
If the solution turns out to be that build.Import creates an absolute path from a relative