x/tools/godoc/vfs: NameSpace.ReadDir sometimes doesn't include all files in overlapping directories #34571
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
vfs.NameSpace.ReadDir
is documented to:Consider the following case, where there are no .go files in either directory, yet
ReadDir
fails to include files from both directories:It produces output:
But should produce:
This bug came up in the past, and was fixed by CL 5783076. If re-applied today, it fixes the problem again. But it was replaced with a more general fix in CL 5783079, which causes the issue to occur under the above conditions.
/cc @jayconrod
The text was updated successfully, but these errors were encountered: