tfausak / purple-yolk

:hatching_chick: A Haskell IDE for Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=taylorfausak.purple-yolk
MIT License
26 stars 2 forks source link

Handle severity from newer GHCs #36

Closed tfausak closed 1 year ago

tfausak commented 1 year ago

Older versions of GHC had an explicit "severity" key in the message JSON. Newer versions include the severity in a space-separated list under the "messageClass" key. I think this change was introduced in GHC 9.4. I'm not sure why I didn't noticed before now.