Remove some dead code now that __GLASGOW_HASKELL__ >= 606
authorIan Lynagh <igloo@earth.li>
Sat, 8 Nov 2008 14:44:59 +0000 (14:44 +0000)
committerIan Lynagh <igloo@earth.li>
Sat, 8 Nov 2008 14:44:59 +0000 (14:44 +0000)
compiler/typecheck/TcTyClsDecls.lhs

index 76e7426..69a984d 100644 (file)
@@ -225,10 +225,6 @@ mkGlobalThings decls things
         = (name, AClass cl)
     mk_thing (L _ decl, ~(ATyCon tc))
          = (tcdName decl, ATyCon tc)
-#if __GLASGOW_HASKELL__ < 605
--- Old GHCs don't understand that ~... matches anything
-    mk_thing _ = panic "mkGlobalThings: Can't happen"
-#endif
 \end{code}