MarcWeber / hasktags

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

Tags aren't generated for GADT constructors with :: on different line #65

Open ntc2 opened 5 years ago

ntc2 commented 5 years ago

For example, in what follows we only get tags for C1 and C3, and not for ThisConstructorNameIsLongSoImPuttingTheTypeOnTheNextLine:

{-# LANGUAGE GADTs #-}
data D a where
  C1 :: Int -> D Int
  ThisConstructorNameIsLongSoImPuttingTheTypeOnTheNextLine
    :: Int -> Bool -> D String
  C3 :: Int
     -> Bool
     -> D Int

This is in the same vein as Issues #16 and #40.