[GHC] #14371: ghc: panic! when reloading file with code

GHC ghc-devs at haskell.org
Thu Oct 19 00:33:30 UTC 2017


#14371: ghc: panic! when reloading file with code
-------------------------------------+-------------------------------------
        Reporter:  xvrbka1           |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      Resolution:  duplicate         |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #13819            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):

 * status:  new => closed
 * resolution:   => duplicate
 * related:   => #13819


Comment:

 Thanks for the bug report. This is a duplicate of #13819, and has been
 fixed in the upcoming GHC 8.2.2 release:

 {{{
 $ /opt/ghc/8.2.2/bin/ghci Bug.hs
 GHCi, version 8.2.1.20170928: http://www.haskell.org/ghc/  :? for help
 Loaded GHCi configuration from /home/rgscott/.ghci
 [1 of 1] Compiling Main             ( Bug.hs, interpreted )

 Bug.hs:1:25: error:
     • Expecting one fewer arguments to ‘a -> Bool’
       Expected kind ‘* -> *’, but ‘a -> Bool’ has kind ‘*’
     • In the type signature:
         countSame :: (Ord a) => (a -> Bool) [a] -> Int
   |
 1 | countSame :: (Ord a) => (a -> Bool) [a] -> Int
   |                         ^^^^^^^^^^^^^^^
 }}}

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


More information about the ghc-tickets mailing list