mirror of
https://github.com/github/semantic.git
synced 2024-12-29 01:42:43 +03:00
avoid the possibility of two Nothings
This commit is contained in:
parent
927a987f0d
commit
d7ce6ef1d3
@ -16,8 +16,7 @@ import Data.Semigroup ((<>))
|
||||
|
||||
data SemanticAST = SemanticAST
|
||||
{ format :: Format
|
||||
, sourceFilePath :: Maybe FilePath
|
||||
, sourceString :: Maybe Prelude.String
|
||||
, source :: Either FilePath Prelude.String
|
||||
} deriving (Read)
|
||||
|
||||
-- TODO:
|
||||
|
Loading…
Reference in New Issue
Block a user