cmd/go: can't compile files with relative imports under testdata directory using modules #33163
Labels
FrozenDueToAge
modules
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Milestone
What did you do?
OK so here's an edge case for you...
I have ~/test/testdata/foo/bar
in
bar
I havein foo I have
This code will compile if I run it with GO111MODULE=off, but will fail if I compile with GO111MODULE=on with this error message:
Does this issue reproduce with the latest release (go1.12.7)?
Yes (note the below says 1.12.4 but I verified with .7 as well).
System details
The text was updated successfully, but these errors were encountered: