Skip to content
Browse files

'Fix' a validation problem when bootstrap is 7.2.1

Problem is with GADTs in new code gen and incomplete pattern
warnings. Just disabled the warning really and created #5424
to track an actual fix.
  • Loading branch information...
1 parent 710169b commit 26cf7e526c8e88d8c161c2e30865a914fc48ed6c David Terei committed Aug 19, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 compiler/cmm/Cmm.hs
  2. +1 −1 compiler/cmm/CmmNode.hs
  3. +1 −1 compiler/cmm/CmmStackLayout.hs
View
2 compiler/cmm/Cmm.hs
@@ -3,7 +3,7 @@
{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
{-# OPTIONS_GHC -fno-warn-incomplete-patterns #-}
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 703
-- GHC 7.0.1 improved incomplete pattern warnings with GADTs
{-# OPTIONS_GHC -fwarn-incomplete-patterns #-}
#endif
View
2 compiler/cmm/CmmNode.hs
@@ -2,7 +2,7 @@
{-# LANGUAGE GADTs #-}
{-# OPTIONS_GHC -fno-warn-incomplete-patterns #-}
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 703
-- GHC 7.0.1 improved incomplete pattern warnings with GADTs
{-# OPTIONS_GHC -fwarn-incomplete-patterns #-}
#endif
View
2 compiler/cmm/CmmStackLayout.hs
@@ -6,7 +6,7 @@
{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
{-# OPTIONS_GHC -fno-warn-incomplete-patterns #-}
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 703
-- GHC 7.0.1 improved incomplete pattern warnings with GADTs
{-# OPTIONS_GHC -fwarn-incomplete-patterns #-}
#endif

0 comments on commit 26cf7e5

Please sign in to comment.
Something went wrong with that request. Please try again.