Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a proper system for stack warnings suppression / collection / display #1745

Open
mgsloan opened this issue Feb 5, 2016 · 2 comments
Open

Comments

@mgsloan
Copy link
Contributor

mgsloan commented Feb 5, 2016

From the discussion here:

It'd be nice is every warning message could be disabled (analogous to GHC's -fno-warn-* options), which would cover this particular issue as well. It'd also be nice if repeated warnings were automatically suppressed and they could be emitted together for a given package instead of being interspersed with other output.

Another reason to have a system like this is so that they can be moved to the end of the output. Currently it's easy for them to get lost in the midst of output.

We've also sometimes needed to restructure code to plumb warning / error info to the end of output. It'd be nicer to store away warnings / errors at the location that generates them.

@mgsloan
Copy link
Contributor Author

mgsloan commented Apr 25, 2016

It'd also be nice to be able to accumulate non-fatal errors. In this case, stack should continue work, but at the end output the errors and exit with a nonzero code. (see #2065)

@mgsloan
Copy link
Contributor Author

mgsloan commented Aug 12, 2016

Another good warning case to present at the end of output is when the config file has unrecognized fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant