[GHC] #3095: ghc panic during parsing
GHC
trac at galois.com
Mon Mar 16 13:51:19 EDT 2009
#3095: ghc panic during parsing
-----------------------------------------+----------------------------------
Reporter: pweaver | Owner: igloo
Type: merge | Status: new
Priority: normal | Milestone:
Component: Compiler (Parser) | Version: 6.10.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: parser/should_fail/T3095 | Os: MacOS X
Architecture: x86 |
-----------------------------------------+----------------------------------
Changes (by simonpj):
* testcase: => parser/should_fail/T3095
* difficulty: => Unknown
* type: bug => merge
* owner: => igloo
Comment:
Thanks. I've fixed the crash, so it produces a sensible (if not great)
error message
{{{
T3095.hs:5:10: Kind signature only allowed for type variables
}}}
It produces this because GHC parses the type thus:
{{{
((forall x.x) :: *)
}}}
Merge to 6.10.2 if there's time.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3095#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list