1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00

Maintain pragmas and comments occuring before the module within the module

This commit is contained in:
Rick Winfrey 2018-06-19 15:15:39 -07:00
parent f29cfde086
commit 66c28dd142

View File

@ -7,9 +7,10 @@ import Diffing.Algorithm
import Prelude
import Prologue
data Module a = Module { moduleIdentifier :: !a
, moduleExports :: ![a]
, moduleStatements :: !a
data Module a = Module { moduleContext :: [a]
, moduleIdentifier :: a
, moduleExports :: [a]
, moduleStatements :: a
}
deriving (Declarations1, Diffable, Eq, Foldable, FreeVariables1, Functor, Generic1, Hashable1, Mergeable, Ord, Show, ToJSONFields1, Traversable)