diff options
author | Ian Lynagh <igloo@earth.li> | 2009-04-24 12:47:54 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2009-04-24 12:47:54 +0000 |
commit | 831a35dd00faff195cf938659c2dd736192b865f (patch) | |
tree | 09b90239d250dca8fa8364c0daa80bbcef9c095c /compiler/cmm | |
parent | 7936b988d6d0a5f9a9b439c7d4a6adf616ddb9b5 (diff) | |
download | haskell-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')
-rw-r--r-- | compiler/cmm/CmmLex.x | 2 | ||||
-rw-r--r-- | compiler/cmm/CmmParse.y | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/compiler/cmm/CmmParse.y b/compiler/cmm/CmmParse.y index 1030895609..9df499ed68 100644 --- a/compiler/cmm/CmmParse.y +++ b/compiler/cmm/CmmParse.y @@ -7,7 +7,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 |