[GHC] #11186: Give strong preference to type variable names in scope when reporting hole contexts
GHC
ghc-devs at haskell.org
Sat Dec 19 06:13:05 UTC 2015
#11186: Give strong preference to type variable names in scope when reporting hole
contexts
-------------------------------------+-------------------------------------
Reporter: dfeuer | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler (Type | Version: 7.10.2
checker) |
Resolution: | Keywords: typed-holes
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 dfeuer):
It looks like it may be preferring the name of the type variable used in
the GADT definition to the one in the pattern, which seems very wrong to
me.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11186#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list