-
Notifications
You must be signed in to change notification settings - Fork 841
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
ghc -ddump-simpl-stats output missing #2012
Comments
This is likely due to stack providing the ghc options |
Even a pointer to the dump file location at the end of the compilation should help. At least the user will know what happened and where the info can be found. |
Yeah, that's a good solution! |
There is another strange problem when using |
It's strange to me that the ddump output appends, that may be an oversight in ghc, because for the It'd be tricky to correctly clear out the dump files. We can either:
|
Earlier I thought it appends. But it does not append it just appears twice in each file every time. Strangely it does not happen for .dump-simpl but happens for all other dump files. Perhaps some ghc option is causing it, not sure which one. |
This idea is also being tracked in #1727. |
I used the following command line to print the ghc simplifier stats:
I also tried the
-v
option but I could not find the output of the command anywhere. Neither on console nor in the logs. Though when I invoked ghc directly I see the output as follows. I expect to find the same withstack build
as well.The text was updated successfully, but these errors were encountered: