haskellfoundation / error-message-index

A community-driven collection of documentation for Haskell error messages and warnings
https://errors.haskell.org
102 stars 70 forks source link

GHC-66228 missing `severity` field, is this intended? #538

Open July541 opened 1 month ago

July541 commented 1 month ago

I just found message-index/messages/GHC-66228/index.md doesn't have severity filed in metadata, which is included by other error messages, is this intended?

BinderDavid commented 1 month ago

Hmm, I just checked, and I think we don't even display the content of the severity field on the website. And on GHC's site there is no distinction between errors and warnings, since they cannot be neatly classified (due to -Werror, which can turn any warning into an error). We should maybe do the opposite and remove the severity field from all messages 🤔