@@ -392,7 +392,7 @@ prettyPrintSingleError full level e = prettyPrintErrorMessage <$> onTypesInError
392 prettyPrintErrorMessage em =
392 prettyPrintErrorMessage em =
394 go em:suggestions em ++
394 go em:suggestions em ++
395− [line $ "See " ++ wikiUri ++ " for more information, or to contribute content related to this error."]
395+ [line $ "See " ++ wikiUri ++ " for more information, or to contribute content related to this " ++ levelText ++ "."]
397 wikiUri :: String
397 wikiUri :: String
398 wikiUri = "https://github.com/purescript/purescript/wiki/Error-Code-" ++ errorCode e
398 wikiUri = "https://github.com/purescript/purescript/wiki/Error-Code-" ++ errorCode e
@@ -728,6 +728,11 @@ prettyPrintSingleError full level e = prettyPrintErrorMessage <$> onTypesInError
728 lineWithLevel :: String -> Box.Box
728 lineWithLevel :: String -> Box.Box
729 lineWithLevel text = line $ show level ++ " " ++ text
729 lineWithLevel text = line $ show level ++ " " ++ text
732+ levelText = case level of
734+ Warning -> "warning"
731 suggestions :: ErrorMessage -> [Box.Box]
736 suggestions :: ErrorMessage -> [Box.Box]
732 suggestions = suggestions' . unwrapErrorMessage
737 suggestions = suggestions' . unwrapErrorMessage