diff --git a/src/Data/Syntax/Declaration.hs b/src/Data/Syntax/Declaration.hs index f3d2876d5..84e9c2d7e 100644 --- a/src/Data/Syntax/Declaration.hs +++ b/src/Data/Syntax/Declaration.hs @@ -96,12 +96,6 @@ instance Eq1 Module where liftEq = genericLiftEq instance Ord1 Module where liftCompare = genericLiftCompare instance Show1 Module where liftShowsPrec = genericLiftShowsPrec -data Interface a = Interface { interfaceIdentifier :: !a, interfaceBody :: ![a] } - deriving (Diffable, Eq, Foldable, Functor, GAlign, Generic1, Show, Traversable) - -instance Eq1 Interface where liftEq = genericLiftEq -instance Show1 Interface where liftShowsPrec = genericLiftShowsPrec - -- | A decorator in Python data Decorator a = Decorator { decoratorIdentifier :: !a, decoratorParamaters :: ![a], decoratorBody :: !a } deriving (Diffable, Eq, Foldable, Functor, GAlign, Generic1, Mergeable, Ord, Show, Traversable) diff --git a/src/Language/Go/Syntax.hs b/src/Language/Go/Syntax.hs index 3de2526e1..4aa017380 100644 --- a/src/Language/Go/Syntax.hs +++ b/src/Language/Go/Syntax.hs @@ -29,7 +29,6 @@ type Syntax = , Declaration.Constructor , Declaration.Function , Declaration.Import - , Declaration.Interface , Declaration.Method , Declaration.Module , Expression.Arithmetic