[GHC] #11409: Cannot instantiate literals using TypeApplications
GHC
ghc-devs at haskell.org
Fri Jan 15 10:17:20 UTC 2016
#11409: Cannot instantiate literals using TypeApplications
-------------------------------------+-------------------------------------
Reporter: Feuerbach | Owner: goldfire
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1-rc1
Resolution: | Keywords:
| TypeApplications
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #11352 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by simonpj):
I don't think it'd be too bad if GHC's implementation desugared `3` to
`integerLit THREE` always. For Haskell 98 or 2010, the behaviour would be
indistinguishable from the report. But it'd work with `TypeApplications`
too which is a real advantage.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11409#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list