[GHC] #13834: Error cascade with type applications

GHC ghc-devs at haskell.org
Fri Feb 1 01:50:42 UTC 2019


#13834: Error cascade with type applications
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
                                     |  TypeApplications, TypeErrorMessages
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #12794            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 Ah, but the regression has disappeared on GHC HEAD!

 {{{
 $ ghc4/inplace/bin/ghc-stage2 -XTypeApplications -e "notInScope @Bool"

 <interactive>:0:1: error: Variable not in scope: notInScope

 <interactive>:0:1: error:
     • Cannot apply expression of type ‘t1’
       to a visible type argument ‘Bool’
     • In the expression: notInScope @Bool
       In an equation for ‘it’: it = notInScope @Bool
 }}}

 So... false alarm?

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


More information about the ghc-tickets mailing list