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

GHC ghc-devs at haskell.org
Mon Apr 18 14:58:38 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 goldfire):

 But you should get no warning with `-XAllowAmbiguousTypes`, as that skips
 the ambiguity check that causes the warning. Or am I mistaken here?

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


More information about the ghc-tickets mailing list