Closed bgamari closed 2 years ago
Previous ghc-events show would fail to report malformed events. Here we fix this by splitting up readEvents to offer:
ghc-events show
readEvents
readEvents' :: Header -> BL.ByteString -> [Either String Event]
Which gives the user access to event deserialisation errors.
Fixes #85.
LGTM for what it's worth
I have merged your fix and squashed.
Thanks!
Released https://hackage.haskell.org/package/ghc-events-0.18.0
Previous
ghc-events show
would fail to report malformed events. Here we fix this by splitting upreadEvents
to offer:Which gives the user access to event deserialisation errors.
Fixes #85.