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:
parent
f29cfde086
commit
66c28dd142
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user