MarcWeber / hasktags

Produces ctags "tags" and etags "TAGS" files for Haskell programs
Other
131 stars 33 forks source link

"Ignore close implementation" seems to be broken #66

Open neongreen opened 5 years ago

neongreen commented 5 years ago

I'm not sure how "ignore closed implementation" (now the default) is supposed to work, but I think it used to work in this case and now it doesn't. Bisecting didn't help, though, so maybe I'm mistaken and it in fact never worked.

Using this file as an example:

data ContentPart =
  ContentPart
    { contentPartThumbnail :: !(Maybe Thumbnail),
      contentPartMMark :: !MMark
    }
  deriving (Show)

-- example.hs

Produces a result where ContentPart is listed twice:

$ stack run -- hasktags example.hs -o-

ContentPart example.hs  1
ContentPart example.hs  2
contentPartMMark    example.hs  4
contentPartThumbnail    example.hs  3

hasktags version: 0.71.2 (93d2b29ecf4ac98c7d5f0ebb9f32d9d6e5182e67, latest master as of today).