haskell / happy

The Happy parser generator for Haskell
Other
277 stars 84 forks source link

deprecations warnings etc on current master (e941bd5cf64033c3fc8d072ec2bd7d4bffc6a959) on ghc 8.0 #60

Open cartazio opened 8 years ago

cartazio commented 8 years ago

as of e941bd5cf64033c3fc8d072ec2bd7d4bffc6a959 on GHC 8.0, i get the following warnings


src/ParamRules.hs:5:1: warning: [-Wdeprecations]
    Module ‘Control.Monad.Error’ is deprecated:
      Use Control.Monad.Except instead

src/ParamRules.hs:6:1: warning: [-Wdeprecations]
    Module ‘Control.Monad.Instances’ is deprecated:
      This module now contains no instances and will be removed in the future

src/ParamRules.hs:32:17: warning: [-Wdeprecations]
    In the use of type constructor or class ‘ErrorT’
    (imported from Control.Monad.Error, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error):
    Deprecated: "Use Control.Monad.Trans.Except instead"

src/ParamRules.hs:58:53: warning: [-Wname-shadowing]
    This binding for ‘x’ shadows the existing binding
      bound at src/ParamRules.hs:55:12

src/ParamRules.hs:72:10: warning: [-Wdeprecations]
    In the use of type constructor or class ‘ErrorT’
    (imported from Control.Monad.Error, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error):
    Deprecated: "Use Control.Monad.Trans.Except instead"

src/ParamRules.hs:73:27: warning: [-Wdeprecations]
    In the use of ‘runErrorT’
    (imported from Control.Monad.Error, but defined in transformers-0.5.2.0:Control.Monad.Trans.Error):
    Deprecated: "Use Control.Monad.Trans.Except instead"

theses should probably be cleaned up or CPP'd over before a release with fixed up GLR support is done (cc @thomie )

erikd commented 8 years ago

Pretty sure this is fixed in my latest PR (already merged).