[GHC] #15677: Valid hole fits and GADT type variable names

GHC ghc-devs at haskell.org
Thu Dec 6 12:19:57 UTC 2018


#15677: Valid hole fits and GADT type variable names
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.8.1
       Component:  Compiler          |              Version:  8.6.1
      Resolution:                    |             Keywords:  TypedHoles,
                                     |  GADTs
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Poor/confusing    |  Unknown/Multiple
  error message                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #9091             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Tritlo):

 Interestingly, it also works for example 1 in #9091, but not for example 2
 (possibly because a0 is made up by the type checker?). So if we fix that,
 we can at least close #9091.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15677#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list