1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 01:47:01 +03:00

avoid the possibility of two Nothings

This commit is contained in:
Ayman Nadeem 2019-10-15 13:23:00 -04:00
parent 927a987f0d
commit d7ce6ef1d3

View File

@ -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: