[GHC] #11376: Inconsistent specified type variables among functions and datatypes/classes when using -XTypeApplications
GHC
ghc-devs at haskell.org
Fri Jan 8 00:19:11 UTC 2016
#11376: Inconsistent specified type variables among functions and datatypes/classes
when using -XTypeApplications
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler (Type | Version: 8.1
checker) |
Resolution: | Keywords: TypeInType
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by rwbarton):
So `TypeInType` enables `DataKinds` and `PolyKinds`, and
`TypeApplications` enables `AllowAmbiguousTypes`. (The rest are default in
ghci.)
Turning off the "kind defaulting" to * from standard Haskell could result
in some pretty confusing errors! Think of situations like #11324. But, OK,
I guess...
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11376#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list