Skip to content

ghc -e :etags duplicates first character of some symbols, producing broken TAGS file.

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

Trac metadata
Trac field Value
Version 6.13
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information