Rename "language" varibles etc to "extension", and add --supported-extensions
[ghc-hetmet.git] / compiler / typecheck / TcDeriv.lhs
index 5fcb45c..446bbdb 100644 (file)
@@ -977,7 +977,7 @@ cond_functorOK allowFunctions (dflags, rep_tc)
     functions  = ptext (sLit "contains function types")
     wrong_arg  = ptext (sLit "uses the type variable in an argument other than the last")
 
-checkFlag :: LanguageFlag -> Condition
+checkFlag :: ExtensionFlag -> Condition
 checkFlag flag (dflags, _)
   | dopt flag dflags = Nothing
   | otherwise        = Just why