[GHC] #9016: Add System.Exit.die
GHC
ghc-devs at haskell.org
Mon Apr 21 11:46:06 UTC 2014
#9016: Add System.Exit.die
-------------------------------------+------------------------------------
Reporter: SimonHengel | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 7.10.1
Component: libraries/base | Version: 7.8.2
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 hvr):
Ok, this needs `Cabal` to be tweaked as well, due to an overly optimistic
unqualified import in `Cabal` :-)
{{{
libraries/Cabal/Cabal/Distribution/Simple.hs:412:7:
Ambiguous occurrence ‘die’
It could refer to either ‘Distribution.Simple.Utils.die’,
imported from ‘Distribution.Simple.Utils’ at
libraries/Cabal/Cabal/Distribution/Simple.hs:92:11-13
or ‘System.Exit.die’,
imported from ‘System.Exit’ at
libraries/Cabal/Cabal/Distribution/Simple.hs:108:1-18
libraries/Cabal/Cabal/Distribution/Simple.hs:417:7:
Ambiguous occurrence ‘die’
It could refer to either ‘Distribution.Simple.Utils.die’,
imported from ‘Distribution.Simple.Utils’ at
libraries/Cabal/Cabal/Distribution/Simple.hs:92:11-13
or ‘System.Exit.die’,
imported from ‘System.Exit’ at
libraries/Cabal/Cabal/Distribution/Simple.hs:108:1-18
libraries/Cabal/Cabal/Distribution/Simple.hs:591:27:
Ambiguous occurrence ‘die’
It could refer to either ‘Distribution.Simple.Utils.die’,
imported from ‘Distribution.Simple.Utils’ at
libraries/Cabal/Cabal/Distribution/Simple.hs:92:11-13
or ‘System.Exit.die’,
imported from ‘System.Exit’ at
libraries/Cabal/Cabal/Distribution/Simple.hs:108:1-18
libraries/Cabal/Cabal/Distribution/Simple.hs:641:36:
Ambiguous occurrence ‘die’
It could refer to either ‘Distribution.Simple.Utils.die’,
imported from ‘Distribution.Simple.Utils’ at
libraries/Cabal/Cabal/Distribution/Simple.hs:92:11-13
or ‘System.Exit.die’,
imported from ‘System.Exit’ at
libraries/Cabal/Cabal/Distribution/Simple.hs:108:1-18
}}}
I've pushed the commit to a `wip/`-branch for now at
https://github.com/ghc/ghc/commit/c4ea79c71ad01287bfbdaafa78bdf195988411e2
until this is resolved in `Cabal`
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9016#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list