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

GHC ghc-devs at haskell.org
Fri Apr 22 10:29:49 UTC 2016


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

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"edf54d72b5b8a6dd0deafa036dc16dcfc3fcb29f/ghc"
 edf54d72/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="edf54d72b5b8a6dd0deafa036dc16dcfc3fcb29f"
 Do not use defaulting in ambiguity check

 This fixes Trac #11947.  See TcSimplify
 Note [No defaulting in the ambiguity check]
 }}}

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


More information about the ghc-tickets mailing list