`flatten` should use `addCallStackToException`
glasserc opened this issue · 2 comments
glasserc commented
Currently it just concatenates annotations using (++)
, which means we can get two CallStack
annotations in an exception.
parsonsmatt commented
Can you post a demonstration? I tried to ensure that the API in the library preserved the right invariants, so if I know where the problem is, then that makes it easier to diagnose. Thanks!
glasserc commented
I wasn't exactly sure what qualified as the API in the library but I wrote a few test cases demonstrating the problem in the linked PR.