From fe8408e272da07a08cdad7d300ec75ced364dbcd Mon Sep 17 00:00:00 2001 From: "Julian K. Arni" Date: Wed, 23 Sep 2015 14:17:17 +0200 Subject: [PATCH] no-warn-missing-methods for 0.10 ToJSON --- servant-client/test/Servant/ClientSpec.hs | 1 + servant/test/Servant/API/ContentTypesSpec.hs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/servant-client/test/Servant/ClientSpec.hs b/servant-client/test/Servant/ClientSpec.hs index 242a3620..1a8ea875 100644 --- a/servant-client/test/Servant/ClientSpec.hs +++ b/servant-client/test/Servant/ClientSpec.hs @@ -9,6 +9,7 @@ {-# LANGUAGE TypeOperators #-} {-# OPTIONS_GHC -fcontext-stack=100 #-} {-# OPTIONS_GHC -fno-warn-orphans #-} +{-# OPTIONS_GHC -fno-warn-missing-methods #-} module Servant.ClientSpec where diff --git a/servant/test/Servant/API/ContentTypesSpec.hs b/servant/test/Servant/API/ContentTypesSpec.hs index 0f4a075a..d55ced1c 100644 --- a/servant/test/Servant/API/ContentTypesSpec.hs +++ b/servant/test/Servant/API/ContentTypesSpec.hs @@ -4,6 +4,8 @@ {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-orphans #-} +{-# OPTIONS_GHC -fno-warn-missing-methods #-} + module Servant.API.ContentTypesSpec where #if !MIN_VERSION_base(4,8,0)