[GHC] #14584: Core Lint error

GHC ghc-devs at haskell.org
Wed Dec 20 10:25:00 UTC 2017


#14584: Core Lint error
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:  TypeInType,
                                     |  DeferredTypeErrors
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 We don't even need a partial type signature.  This gives a similar Lint
 error (when compiled with `-fdefer-type-errrors`:
 {{{
 g :: forall m. ()
 g = let h = id @m
     in h
 }}}

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


More information about the ghc-tickets mailing list