qualNameErr,
dupNamesErr,
shadowedNameWarn,
- multipleOccWarn,
- negateNameWarn
+ multipleOccWarn
) where
import Ubiq
multipleOccWarn (name, occs) sty
= ppBesides [ppStr "warning:multiple names used to refer to `", ppr sty name, ppStr "': ",
ppInterleave ppComma (map (ppr sty) occs)]
-
-negateNameWarn (name,locn)
- = addShortWarnLocLine locn ( \ sty ->
- ppBesides [ppStr "local binding of `negate' will be used for prefix `-'"])
\end{code}