
#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): `theFloatDigits` isn't the thing that's ambiguous or not; it's `theFloatDigits`'s type, `forall a. RealFloat a => Int`, which certainly is ambiguous, mentioning a type variable only in a constraint and not the type head. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11947#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler