[GHC] #14344: `ghc: panic!` when loading module
GHC
ghc-devs at haskell.org
Wed Oct 11 23:20:16 UTC 2017
#14344: `ghc: panic!` when loading module
-------------------------------------+-------------------------------------
Reporter: javi | Owner: (none)
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1
Resolution: duplicate | Keywords:
Operating System: MacOS X | Architecture:
Type of failure: Compile-time | Unknown/Multiple
crash or panic | 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 Ex ( Bug.hs, interpreted )
Bug.hs:5:10: error:
• Expecting one fewer arguments to ‘a -> Bool’
Expected kind ‘* -> *’, but ‘a -> Bool’ has kind ‘*’
• In the type signature: myAny :: (a -> Bool) [a] -> Bool
|
5 | myAny :: (a -> Bool) [a] -> Bool
| ^^^^^^^^^^^^^^^
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14344#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list