Closed tfausak closed 2 months ago
Newer GHCs don't emit the reason field anymore:
reason
https://github.com/tfausak/purple-yolk/blob/8124f8a55d72f9b29c2336f4e5979ddf4571d3f8/source/client.ts#L751-L753
Instead the messageClass will include something like Opt_WarnDuplicateExports, which corresponds to -Wduplicate-exports. The mapping comes from here:
messageClass
Opt_WarnDuplicateExports
-Wduplicate-exports
https://hackage.haskell.org/package/ghc-9.8.2/docs/GHC-Driver-Flags.html#v:warnFlagNames
Newer GHCs don't emit the
reason
field anymore:https://github.com/tfausak/purple-yolk/blob/8124f8a55d72f9b29c2336f4e5979ddf4571d3f8/source/client.ts#L751-L753
Instead the
messageClass
will include something likeOpt_WarnDuplicateExports
, which corresponds to-Wduplicate-exports
. The mapping comes from here:https://hackage.haskell.org/package/ghc-9.8.2/docs/GHC-Driver-Flags.html#v:warnFlagNames