Skip to content
Snippets Groups Projects
Commit 8300ca2e authored by Ben Gamari's avatar Ben Gamari Committed by Marge Bot
Browse files

driver: Export wWarningFlagMap

A new feature requires Ghcide to be able to convert warnings to CLI
flags (WarningFlag -> String). This is most easily implemented in terms
of the internal function flagSpecOf, which uses an inefficient
implementation based on linear search through a linked list. This PR
derives Ord for WarningFlag, and replaces that list with a Map.

Closes #19087.
parent dd2dba80
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment