TTG: Handling Source Locations

Ryan Scott ryan.gl.scott at gmail.com
Wed Feb 13 11:06:42 UTC 2019


Yes, I agree. This will require sprinkling the codebase with EmptyCase due
to [1], but that's still a sight better than calling `panic`. After GHC
8.10 is released (and the minimum version of GHC that HEAD supports is
8.8), we can even remove these empty cases by making the empty data type
fields strict (see [2]).

Ryan S.
-----
[1] https://ghc.haskell.org/trac/ghc/ticket/15247#comment:4
[2] https://ghc.haskell.org/trac/ghc/ticket/15305
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20190213/d2c67038/attachment.html>


More information about the ghc-devs mailing list