ghc -e :etags duplicates first character of some symbols, producing broken TAGS file.
|Reported by:||cliffordbeshers||Owned by:||igloo|
|Operating System:||Linux||Architecture:||x86_64 (amd64)|
|Type of failure:||Other||Test Case:|
|Related Tickets:||Differential Rev(s):|
When I run 'ghc -e :etags' on Haskell files, many identifiers have their first characters duplicated in the TAGS file, which causes the tag search to fail. Removing these extra characters by hand produces a valid TAGS file. -e :ctags does not seem to have the same problem.
I am attaching a Main.hs and a TAGS file which show the problem.
It is within the realm of possibility that this bug was introduced by our Debian/Ubuntu/SeeReason packaging