Implement `-ferror-limit` for GHC
Clang has an option -ferror-limit=n which is very handy for development since it lets you focus on the first error message when there is a long list of errors. A similar flag for GHC would be very helpful.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.0.1 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |