[GHC] #14247: Fails to coerce between newtypes directly
GHC
ghc-devs at haskell.org
Mon Sep 18 22:44:51 UTC 2017
#14247: Fails to coerce between newtypes directly
-------------------------------------+-------------------------------------
Reporter: Iceland_jack | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by goldfire):
The `Coercible` solver is incomplete when recursive newtypes come into
play. We admit this in the JFP paper. I don't know how to do better. And
I'm pretty sure the problem is undecidable, anyway.
Did this come up in the wild?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14247#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list