diff options
author | Alfredo Di Napoli <alfredo@well-typed.com> | 2021-06-01 09:57:09 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-06-04 12:43:41 -0400 |
commit | f1b748b491dc49cfbe698cd790610ca21ae21ee7 (patch) | |
tree | d6ffa50d52e96217c1893a89adc840cbb0a5c5fa /.gitlab | |
parent | 44d131af861e58b17f52c89da77a7ceeeba392c0 (diff) | |
download | haskell-f1b748b491dc49cfbe698cd790610ca21ae21ee7.tar.gz |
Add PsHeaderMessage diagnostic (fixes #19923)
This commit replaces the PsUnknownMessage diagnostics over at
`GHC.Parser.Header` with a new `PsHeaderMessage` type (part of
the more general `PsMessage`), so that we can throw parser header's
errors which can be correctly caught by `GHC.Driver.Pipeline.preprocess`
and rewrapped (correctly) as Driver messages (using the
`DriverPsHeaderMessage`).
This gets rid of the nasty compiler crash as part of #19923.
Diffstat (limited to '.gitlab')
0 files changed, 0 insertions, 0 deletions