Printing type operators adds extraneous parenthesis
Given the code:
{-# LANGUAGE TypeOperators #-}
type name ::: a = a
f :: Int ::: Int -> Int
f = id
In GHCi-8.0.2 I get:
>>> :t f
f :: Int ::: Int -> Int
But in GHCi-8.2.0.20170427 I get:
>>> :t f
f :: (Int ::: Int) -> Int
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.2.1-rc2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |