id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
7141,Inlining the single method of a class can shadow rules,pcapriotti,simonpj,"This shows up in `template-haskell`, module `Language.Haskell.TH.Syntax`, where the single method of the `Lift` class:

{{{
class Lift t where
  lift :: t -> Q Exp
}}}

has a `RULE`:

{{{
{-# RULES ""TH:liftString"" lift = \s -> return (LitE (StringL s)) #-}
}}}

There is currently no way of preventing `lift` from being inlined.",bug,new,normal,7.8.1,Compiler,7.4.2,,,,Unknown/Multiple,Unknown/Multiple,Other,Unknown,,,,
