diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-10-23 17:24:24 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-10-24 01:26:11 -0400 |
commit | 8300ca2e3bcc3e74f7524116f85688da6167bb2f (patch) | |
tree | 73722e3f5621c1a08c34c67b68b461bc0aa35070 /testsuite/LICENSE | |
parent | dd2dba808aaa957c3d036b0025b412c499aace3d (diff) | |
download | haskell-8300ca2e3bcc3e74f7524116f85688da6167bb2f.tar.gz |
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.
Diffstat (limited to 'testsuite/LICENSE')
0 files changed, 0 insertions, 0 deletions