[GHC] #4107: Extra parens in error message's displayed code
GHC
cvs-ghc at haskell.org
Fri Jun 4 08:53:22 EDT 2010
#4107: Extra parens in error message's displayed code
---------------------------+------------------------------------------------
Reporter: marcotmarcot | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 6.13
Resolution: fixed | Keywords:
Difficulty: | Os: Linux
Testcase: | Architecture: x86_64 (amd64)
Failure: None/Unknown |
---------------------------+------------------------------------------------
Changes (by simonpj):
* status: new => closed
* resolution: => fixed
Comment:
Good point. Fixed by
{{{
Fri Jun 4 12:01:43 GMT Daylight Time 2010 simonpj at microsoft.com
* Don't use unnecessary parens when printing types (Fix Trac 4107)
f :: Eq a => a -> a
rather than
f :: (Eq a) => a -> a
M ./compiler/hsSyn/HsTypes.lhs -2 +10
M ./compiler/types/TypeRep.lhs -3 +13
}}}
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4107#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list