[GHC] #14771: TypeError reported too eagerly
GHC
ghc-devs at haskell.org
Thu Feb 8 22:14:21 UTC 2018
#14771: TypeError reported too eagerly
-------------------------------------+-------------------------------------
Reporter: hsyl20 | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler (Type | Version: 8.2.2
checker) | Keywords:
Resolution: | CustomTypeErrors
Operating System: Unknown/Multiple | Architecture:
Type of failure: Incorrect | Unknown/Multiple
error/warning at compile-time | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by hsyl20):
Nice! `Assert` did the trick, thanks!
I'll fill another ticket for issue 2 if I find a better example.
I leave the ticket open to discuss if we want `Assert` to be added to
`Data.Type.Bool`. Otherwise we can close it.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14771#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list