#1930: infix type constructors are printed incorrectly by GHC
----------------------+-----------------------------------------------------
Reporter: igloo | Owner:
Type: bug | Status: new
Priority: normal | Milestone: _|_
Component: Compiler | Version: 6.8.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------+-----------------------------------------------------
Comment (by nfrisby):
Moreover, infix constructors - even those that are not operators - are
also incorrectly printed.
{{{
data Report = AsExpected Outcome | Outcome `InsteadOf` Outcome
}}}
Note how GHC 6.8.2 prints the !InsteadOf operator without the backticks:
{{{
*Correctness> :i Report
data Report = AsExpected Outcome | Outcome InsteadOf Outcome
-- Defined at Correctness.hs:23:5-10
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1930#comment:1>
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