mirror of
https://github.com/github/semantic.git
synced 2025-01-04 13:34:31 +03:00
Remove extraneous comments and whitespace
This commit is contained in:
parent
e78740ef88
commit
016c70b0ac
@ -159,7 +159,7 @@ instance Show1 Field where liftShowsPrec = genericLiftShowsPrec
|
|||||||
-- TODO: Implement Eval instance for Field
|
-- TODO: Implement Eval instance for Field
|
||||||
instance Evaluatable Field
|
instance Evaluatable Field
|
||||||
|
|
||||||
-- | A field declaration in a Go struct type declaration.
|
|
||||||
data Package a = Package { packageName :: !a, packageContents :: ![a] }
|
data Package a = Package { packageName :: !a, packageContents :: ![a] }
|
||||||
deriving (Diffable, Eq, FreeVariables1, Foldable, Functor, GAlign, Generic1, Mergeable, Ord, Show, Traversable)
|
deriving (Diffable, Eq, FreeVariables1, Foldable, Functor, GAlign, Generic1, Mergeable, Ord, Show, Traversable)
|
||||||
|
|
||||||
@ -170,6 +170,7 @@ instance Show1 Package where liftShowsPrec = genericLiftShowsPrec
|
|||||||
instance Evaluatable Package where
|
instance Evaluatable Package where
|
||||||
eval (Package _ xs) = eval xs
|
eval (Package _ xs) = eval xs
|
||||||
|
|
||||||
|
|
||||||
-- | A type assertion in Go (e.g. `x.(T)` where the value of `x` is not nil and is of type `T`).
|
-- | A type assertion in Go (e.g. `x.(T)` where the value of `x` is not nil and is of type `T`).
|
||||||
data TypeAssertion a = TypeAssertion { typeAssertionSubject :: !a, typeAssertionType :: !a }
|
data TypeAssertion a = TypeAssertion { typeAssertionSubject :: !a, typeAssertionType :: !a }
|
||||||
deriving (Diffable, Eq, FreeVariables1, Foldable, Functor, GAlign, Generic1, Mergeable, Ord, Show, Traversable)
|
deriving (Diffable, Eq, FreeVariables1, Foldable, Functor, GAlign, Generic1, Mergeable, Ord, Show, Traversable)
|
||||||
|
Loading…
Reference in New Issue
Block a user