-
Notifications
You must be signed in to change notification settings - Fork 141
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 HasCallStack #440
Add HasCallStack #440
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does this affect performance? I imagine it wouldn't be too bad.
As https://mail.haskell.org/pipermail/libraries/2021-May/031246.html explains, adding |
I wonder whether addition of |
🤷 @phadej, what do you think? |
On the other hand, it's equivalent to changing error messages, which I would not qualify as a breakage... |
Are you sure that it won't break anything? It reminds me of haskell/cabal#6545, where some code involving |
Cf. https://discourse.haskell.org/t/is-adding-hascallstack-a-breaking-change/3696/11 I was leaning to "non-breaking", but haskell/cabal#6545 looks pretty bad :( |
#6545 is not due
which is rank2 type-alias. And that's what was affected by simplified subsumption. |
I'm fine with treating this as a non-breaking change, i.e. releasing this in 0.11.x. |
This mimics recently approved https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6772/diffs