fix tricky warning with ghc 8
authorJoey Hess <joeyh@joeyh.name>
Tue, 15 Nov 2016 22:51:07 +0000 (18:51 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 15 Nov 2016 22:51:07 +0000 (18:51 -0400)
Whether Route was exported from Assistant.WebApp.Types
or not depended on the version of ghc. So, explictly export it.

Assistant/Alert.hs
Assistant/WebApp/Types.hs

index bc79a70a8d0c7238413dc3f803b85427ff0a7f28..6db66399c5a75221c26367856397b519920b7920 100644 (file)
@@ -26,7 +26,6 @@ import qualified Control.Exception as E
 import Assistant.DaemonStatus
 import Assistant.WebApp.Types
 import Assistant.WebApp (renderUrl)
-import Yesod
 #endif
 import Assistant.Monad
 import Assistant.Types.UrlRenderer
index 1ab0fa306f3a8360ad6a8b1ffdbb3ccd6be27959..6b0eb9413f91f28407f9287365918e229e63217a 100644 (file)
 {-# LANGUAGE FlexibleInstances, FlexibleContexts, ViewPatterns #-}
 {-# OPTIONS_GHC -fno-warn-orphans #-}
 
-module Assistant.WebApp.Types where
+module Assistant.WebApp.Types (
+       module Assistant.WebApp.Types,
+       Route
+) where
 
 import Assistant.Common
 import Assistant.Ssh