THRIFT-2002: Update Maybe to use Data.Maybe to prevent failure of the debug test
authorCarl Yeksigian <carl@apache.org>
Fri, 7 Jun 2013 00:53:32 +0000 (20:53 -0400)
committerCarl Yeksigian <carl@apache.org>
Fri, 7 Jun 2013 00:53:32 +0000 (20:53 -0400)
Client: haskell
Patch: Carl Yeksigian

test/hs/DebugProtoTest_Main.hs

index f6a031c..29393db 100755 (executable)
@@ -24,7 +24,7 @@ module Main where
 
 import qualified Control.Exception
 import qualified Data.ByteString.Lazy as DBL
-import qualified Maybe
+import qualified Data.Maybe
 import qualified Network
 
 import Thrift.Protocol.Binary
@@ -127,7 +127,7 @@ instance SIface.Srv_Iface InheritedHandler where
 instance IIface.Inherited_Iface InheritedHandler where
     identity _ arg = do
         ThriftTestUtils.serverLog $ "Got identity method: " ++ show arg
-        return $ Maybe.fromJust arg
+        return $ Data.Maybe.fromJust arg
 
 client :: (String, Network.PortID) -> IO ()
 client addr = do