[GHC] #15697: Typed holes inferring a more polymorphic type
GHC
ghc-devs at haskell.org
Tue Oct 2 12:48:29 UTC 2018
#15697: Typed holes inferring a more polymorphic type
-------------------------------------+-------------------------------------
Reporter: sreenidhi | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.6.1
Resolution: | Keywords: TypedHoles
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 Tritlo):
So, the suggestions here are correct (based on the type), but why is it
not inferring that `x` is of type char? It doesn't even look like it is
inferring that `a` must end up being Char.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15697#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list