[GHC] #11947: GHC mistakenly warns about type defaulting in the presence of -XTypeApplications

GHC ghc-devs at haskell.org
Fri Apr 22 10:39:56 UTC 2016


#11947: GHC mistakenly warns about type defaulting in the presence of
-XTypeApplications
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.0.1
  checker)                           |             Keywords:
      Resolution:  fixed             |  TypeApplications
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Incorrect         |            Test Case:
  warning at compile-time            |  typecheck/should_compile/T11947
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by simonpj):

 * status:  new => closed
 * testcase:   => typecheck/should_compile/T11947
 * resolution:   => fixed


Comment:

 Yes, that worked.

 The change is small and non-invasive, so could be merged; but it's also a
 corner case so I think I'll suggest leaving for 8.2 unless anyone yells.

 Simon

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


More information about the ghc-tickets mailing list