Re: [GHC] #8466: Aggregate “ambiguous import” errors for the same name
GHC
ghc-devs at haskell.org
Wed Oct 23 08:15:44 UTC 2013
#8466: Aggregate “ambiguous import” errors for the same name
-------------------------------------+------------------------------------
Reporter: nomeata | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by simonpj):
I do rather agree with you, but it's a user question so let's get more
user feedback.
A very simple, but brutal, way to achieve this would be to aggregate error
messages that were identical, as strings. We don't keep them as data, so
the string (or rather `SDoc`) is all we have to do on.
You could try this in `printMsgBag` in `ErrUtils`.
Simon
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8466#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list