
import "hint" HLint.HLint

-- Hints that apply only to the HLint source code

error = QVarOp a (UnQual b x) ==> toNamed x
error = QConOp a (UnQual b x) ==> toNamed x
error = UnQual a (Symbol b x) ==> toNamed x
error = UnQual a (Ident  b x) ==> toNamed x
error = Var a (toNamed x) ==> toNamed x
error = Con a (toNamed x) ==> toNamed x

error = idea Warning ==> warn
error = idea Suggestion ==> suggest
error = ideaN Warning ==> warnN
error = ideaN Suggestion ==> suggestN


-- deliberately creates an Ident with "...", which should be a symbol
ignore "Use toNamed" = Hint.Naming.shorten
-- would require module cycles
ignore "Use toNamed" = HSE.Util


-- Hints that apply only to the HLint source code

error = QVarOp a (UnQual b x) ==> toNamed x
error = QConOp a (UnQual b x) ==> toNamed x
error = UnQual a (Symbol b x) ==> toNamed x
error = UnQual a (Ident  b x) ==> toNamed x
error = Var a (toNamed x) ==> toNamed x
error = Con a (toNamed x) ==> toNamed x

error = idea Warning ==> warn
error = idea Suggestion ==> suggest
error = ideaN Warning ==> warnN
error = ideaN Suggestion ==> suggestN


-- deliberately creates an Ident with "...", which should be a symbol
ignore "Use toNamed" = Hint.Naming.shorten
-- would require module cycles
ignore "Use toNamed" = HSE.Util

Remove a pointless "hint" import now they are ignored
Remove a pointless "hint" import now they are ignored
