summaryrefslogtreecommitdiff
path: root/compiler/cmm/CmmLex.x
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-04-24 12:47:54 +0000
committerIan Lynagh <igloo@earth.li>2009-04-24 12:47:54 +0000
commit831a35dd00faff195cf938659c2dd736192b865f (patch)
tree09b90239d250dca8fa8364c0daa80bbcef9c095c /compiler/cmm/CmmLex.x
parent7936b988d6d0a5f9a9b439c7d4a6adf616ddb9b5 (diff)
downloadhaskell-831a35dd00faff195cf938659c2dd736192b865f.tar.gz
Require a bang pattern when unlifted types are where/let bound; #3182
For now we only get a warning, rather than an error, because the alex and happy templates don't follow the new rules yet.
Diffstat (limited to 'compiler/cmm/CmmLex.x')
-rw-r--r--compiler/cmm/CmmLex.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/cmm/CmmLex.x b/compiler/cmm/CmmLex.x
index da5e4df3d8..7724565bdd 100644
--- a/compiler/cmm/CmmLex.x
+++ b/compiler/cmm/CmmLex.x
@@ -11,7 +11,7 @@
-----------------------------------------------------------------------------
{
-{-# OPTIONS -w #-}
+{-# OPTIONS -Wwarn #-}
-- The above warning supression flag is a temporary kludge.
-- While working on this module you are encouraged to remove it and fix
-- any warnings in the module. See