hasktags icon indicating copy to clipboard operation
hasktags copied to clipboard

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

Open ntc2 opened this issue 5 years ago • 0 comments

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.

ntc2 avatar Mar 06 '19 21:03 ntc2