#1122: Trying to declare an infix newtype yields ghc panic
----------------------+-----------------------------------------------------
Reporter: guest | Owner:
Type: merge | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.6
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: tc173 | Architecture: x86
Os: Linux |
----------------------+-----------------------------------------------------
Changes (by simonpj):
* testcase: => tc173
* type: bug => merge
Comment:
You need to use an infix type *constructor*, which must start with a
colon.
The crash is bad -- thanks for the report. Now fixed. Test case is
tcfail731.
Please merge to 6.6.1.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1122>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs