Skip to content
This repository has been archived by the owner on Feb 3, 2018. It is now read-only.

Ignore underscore-led files on parse #211

Closed
sdboyer opened this issue Apr 7, 2017 · 1 comment
Closed

Ignore underscore-led files on parse #211

sdboyer opened this issue Apr 7, 2017 · 1 comment

Comments

@sdboyer
Copy link
Owner

sdboyer commented Apr 7, 2017

golang/dep#351 demonstrated how parsing in files with leading underscores leads to all manner of problems. In that case, a _gen.go file from github.com/clipperhouse/gen ended up tricking our package parser into thinking that it was all a package main.

The toolchain doesn't look at these files by default when compiling, and we shouldn't analyze them either.

@sdboyer
Copy link
Owner Author

sdboyer commented Apr 7, 2017

Technically this should result in a solver version bump, but #173 ain't in yet :(

krisnova pushed a commit to krisnova/dep that referenced this issue Apr 21, 2017
krisnova pushed a commit to krisnova/dep that referenced this issue Apr 21, 2017
krisnova pushed a commit to krisnova/dep that referenced this issue Apr 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant