packages feed

haskell-language-server-2.7.0.0: plugins/hls-semantic-tokens-plugin/test/testdata/TClassImportedDeriving.hs

{-# LANGUAGE StandaloneDeriving #-}
module TClassImportedDeriving where
-- deriving method source span of Show occurrence
data Foo = Foo deriving (Show)

-- standalone deriving method not in the same position
-- deriving instance Eq Foo

-- a :: Foo -> Foo -> Bool
-- a = (==)