diff options
| author | hallgren <hallgren@chalmers.se> | 2014-08-20 17:47:08 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2014-08-20 17:47:08 +0000 |
| commit | 21f429caf8c8cb4248457c16abaf0ad4f51c974a (patch) | |
| tree | 558898049275da72a5b2c37101368a68fa5e60de /src/compiler/GF/Compile/ReadFiles.hs | |
| parent | 73310add9a549b58381f475eab5324a17a6b83dd (diff) | |
Add lifted directory operations in GF.System.Directory to eliminate the need for liftIO in various places
Diffstat (limited to 'src/compiler/GF/Compile/ReadFiles.hs')
| -rw-r--r-- | src/compiler/GF/Compile/ReadFiles.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/GF/Compile/ReadFiles.hs b/src/compiler/GF/Compile/ReadFiles.hs index ecbd88b54..4e57e5ba4 100644 --- a/src/compiler/GF/Compile/ReadFiles.hs +++ b/src/compiler/GF/Compile/ReadFiles.hs @@ -139,7 +139,7 @@ findFile gfoDir ps name = noGFO = raise (render ("File" <+> gfFile name <+> "does not exist." $$ "searched in:" <+> vcat ps)) -modtime path = liftIO $ getModificationTime path +modtime path = getModificationTime path gfImports opts file = importsOfModule `fmap` parseModHeader opts file |
