
#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