Open yaitskov opened 2 years ago
I think it would be better to add this feature directly to GHC, so that everyone gets a stack trace, and not just those of us who use this plugin.
And while we are at it, in addition to incomplete pattern match, we should also give stack trace to the error Missing field in record construction
GHC doesn't generate stack trace in case of incomplete pattern match.
Would be cool to append default case to fB
Then output is much more informative: