[GHC] #14450: GHCi spins forever

GHC ghc-devs at haskell.org
Wed Nov 15 20:17:58 UTC 2017


#14450: GHCi spins forever
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  high              |            Milestone:  8.4.1
       Component:  Compiler          |              Version:  8.2.1
      Resolution:  fixed             |             Keywords:  TypeInType,
                                     |  PolyKinds
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Compile-time      |            Test Case:
  performance bug                    |  polykinds/T14450
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 That program errors for me on the latest GHC HEAD:

 {{{
 $ ~/Software/ghc/inplace/bin/ghc-stage2 --interactive Bug.hs
 GHCi, version 8.3.20171111: http://www.haskell.org/ghc/  :? for help
 Loaded GHCi configuration from /home/rgscott/.ghci
 [1 of 1] Compiling Main             ( Bug.hs, interpreted )

 Bug.hs:21:20: error:
     • Expected kind ‘k -> k -> *’, but ‘(->)’ has kind ‘* -> * -> *’
     • In the type ‘(->)’
       In the type instance declaration for ‘D’
       In the instance declaration for ‘F DupSym0’
    |
 21 |   type D DupSym0 = (->)
    |                    ^^^^
 }}}

 So I'd wager that it's the same issue.

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


More information about the ghc-tickets mailing list