summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorAlfredo Di Napoli <alfredo@well-typed.com>2021-06-01 09:57:09 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-06-04 12:43:41 -0400
commitf1b748b491dc49cfbe698cd790610ca21ae21ee7 (patch)
treed6ffa50d52e96217c1893a89adc840cbb0a5c5fa /.gitlab
parent44d131af861e58b17f52c89da77a7ceeeba392c0 (diff)
downloadhaskell-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