[GHC] #4239: -ddump-minimal-imports vs. type operators
GHC
ghc-devs at haskell.org
Wed May 11 18:18:30 UTC 2016
#4239: -ddump-minimal-imports vs. type operators
-------------------------------------+-------------------------------------
Reporter: nomeata | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case: T4239
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by dsf):
* status: closed => new
* version: 6.12.1 => 7.10.3
* resolution: fixed =>
* milestone: 7.4.1 =>
Comment:
There is still at least one case where this is still happening - the
operator · (char 183) comes out without parens:
{{{#!hs
module Test ((·), (⊃)) where
(·) = undefined
(⊃) = undefined
}}}
{{{#!hs
module Test2 ((·), (⊃)) where
import Test ((·), (⊃))
}}}
-ddump-minimal-imports outputs this for Test2:
{{{#!hs
import Test ( ·, (⊃) )
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/4239#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list