diff options
author | Zejun Wu <watashi@fb.com> | 2018-12-28 00:10:22 -0800 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2019-01-31 12:46:51 -0500 |
commit | 0593e9389c4e5fd4386ebd74a746ef9659401ac6 (patch) | |
tree | 04d4b9fe43d13034daacf59f511e8c239b235cbc /mk | |
parent | 98ff3010a642366ab8e0c563fc20debc8858dc83 (diff) | |
download | haskell-0593e9389c4e5fd4386ebd74a746ef9659401ac6.tar.gz |
Add -fdefer-diagnostics to defer and group diagnostic messages in make-mode
When loading many modules in parallel there can a lot of warnings and
errors get mixed up with regular output. When the compilation fails,
the relevant error message can be thousands of lines backward and is
hard to find. When the compilation successes, warning message is likely
to be ignored as it is not seen. We can address this by deferring the
warning and error message after the compilation. We also put errors
after warnings so it is more visible.
This idea was originally proposed by Bartosz Nitka in
https://phabricator.haskell.org/D4219.
Diffstat (limited to 'mk')
0 files changed, 0 insertions, 0 deletions