diff options
author | Yann Herklotz <git@yannherklotz.com> | 2020-05-11 18:29:06 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2020-05-11 18:29:06 +0100 |
commit | 805f67c07cc15d784078b00a84f4055f84016cec (patch) | |
tree | 15c93eb5102e3813515d41204deb3f86f78f1994 /src/Verismith/Config.hs | |
parent | 54bb059ab6955f58f4a4b95cdd080775a56bc793 (diff) | |
download | verismith-805f67c07cc15d784078b00a84f4055f84016cec.tar.gz verismith-805f67c07cc15d784078b00a84f4055f84016cec.zip |
Fix types with annotations
Diffstat (limited to 'src/Verismith/Config.hs')
-rw-r--r-- | src/Verismith/Config.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Verismith/Config.hs b/src/Verismith/Config.hs index f757ebb..df684b7 100644 --- a/src/Verismith/Config.hs +++ b/src/Verismith/Config.hs @@ -538,7 +538,7 @@ parseConfigFile = Toml.decodeFile configCodec parseConfig :: Text -> Config parseConfig t = case Toml.decode configCodec t of - Right c -> c + Right c-> c Left Toml.TrivialError -> error "Trivial error while parsing Toml config" Left (Toml.KeyNotFound k) -> error $ "Key " ++ show k ++ " not found" Left (Toml.TableNotFound k) -> error $ "Table " ++ show k ++ " not found" |