packages feed

hls-semantic-tokens-plugin-2.6.0.0: 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 = (==)