zxpbenson / rog-go

Automatically exported from code.google.com/p/rog-go
0 stars 0 forks source link

exp/cmd/godef: should ignore hidden files #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Would it be possible to ignore hidden files when parsing packages? Emacs 
creates hidden symbolic links with names like `.#foo.go` for modified files. 
This seems to trip up godef, meaning it won't be able to find any declarations 
for expressions.

My guess is that it parses both foo.go and .#foo.go and then fails because of 
duplicate function names, among others.

Original issue reported on code.google.com by dominik.honnef on 28 Feb 2013 at 11:09