@@ -399,7 +399,7 @@ prettyPrintSingleError full level e = prettyPrintErrorMessage <$> onTypesInError
399 prettyPrintErrorMessage em =
399 prettyPrintErrorMessage em =
401 go em:suggestions em ++
401 go em:suggestions em ++
402− [line $ "See " ++ wikiUri ++ " for more information, or to contribute content related to this error."]
402+ [line $ "See " ++ wikiUri ++ " for more information, or to contribute content related to this " ++ levelText ++ "."]
404 wikiUri :: String
404 wikiUri :: String
405 wikiUri = "https://github.com/purescript/purescript/wiki/Error-Code-" ++ errorCode e
405 wikiUri = "https://github.com/purescript/purescript/wiki/Error-Code-" ++ errorCode e
@@ -736,6 +736,11 @@ prettyPrintSingleError full level e = prettyPrintErrorMessage <$> onTypesInError
736 lineWithLevel :: String -> Box.Box
736 lineWithLevel :: String -> Box.Box
737 lineWithLevel text = line $ show level ++ " " ++ text
737 lineWithLevel text = line $ show level ++ " " ++ text
740+ levelText = case level of
742+ Warning -> "warning"
739 suggestions :: ErrorMessage -> [Box.Box]
744 suggestions :: ErrorMessage -> [Box.Box]
740 suggestions = suggestions' . unwrapErrorMessage
745 suggestions = suggestions' . unwrapErrorMessage