diff options
author | Jakob Brünker <jakob.bruenker@gmail.com> | 2022-03-18 17:56:07 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-03-30 03:10:33 -0400 |
commit | f07c7766663fa52a037aaf941fd0d34523ff2f2f (patch) | |
tree | de3288beb918e3fbe0d053ffc9bbadaed9f38477 /testsuite/tests/generics/T7878A.hs | |
parent | dda46e2da13268c239db3290720b014cef00c01d (diff) | |
download | haskell-f07c7766663fa52a037aaf941fd0d34523ff2f2f.tar.gz |
Give parsing plugins access to errors
Previously, when the parser produced non-fatal errors (i.e. it produced
errors but the 'PState' is 'POk'), compilation would be aborted before
the 'parsedResultAction' of any plugin was invoked. This commit changes
that, so that such that 'parsedResultAction' gets collections of
warnings and errors as argument, and must return them after potentially
modifying them.
Closes #20803
Diffstat (limited to 'testsuite/tests/generics/T7878A.hs')
0 files changed, 0 insertions, 0 deletions