[GHC] #9016: Add System.Exit.die

#9016: Add System.Exit.die ------------------------------------+------------------------------------- Reporter: SimonHengel | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: libraries/base | Version: 7.8.2 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- (as per the proposal/discussion on haskell-libraries, I just posted a summary that "awaits moderator approval") -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9016 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9016: Add System.Exit.die -------------------------------------+------------------------------------ Reporter: SimonHengel | Owner: Type: feature request | Status: new Priority: normal | Milestone: 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: -------------------------------------+------------------------------------ Changes (by supki): * cc: matvey.aksenov+ghctrac@… (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9016#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9016: Add System.Exit.die -------------------------------------+------------------------------------ Reporter: SimonHengel | Owner: Type: feature request | Status: new Priority: normal | Milestone: 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): For the mean-time, here's the [http://thread.gmane.org/gmane.comp.lang.haskell.libraries/20872 libraries@ thread] -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9016#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9016: Add System.Exit.die -------------------------------------+------------------------------------ Reporter: SimonHengel | Owner: Type: feature request | Status: new Priority: normal | Milestone: 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): Simon, would you mind adding an empty line + `/Since: 4.7.1.0/` to the haddock string, as well as adding a short [[GhcFile(libraries/base/changelog.md)]] entry to the patch? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9016#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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: -------------------------------------+------------------------------------ Changes (by hvr): * cc: ekmett (added) * milestone: => 7.10.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9016#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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 SimonHengel): Done. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9016#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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): Replying to [comment:5 SimonHengel]:
Like so, or should the changelog entry be more verbose?
It's fine, I'll take it from here, thanks :-) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9016#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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

#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 Herbert Valerio Riedel

#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 Herbert Valerio Riedel

#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 Herbert Valerio Riedel

#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 Herbert Valerio Riedel

#9016: Add System.Exit.die -------------------------------------+------------------------------------ Reporter: SimonHengel | Owner: Type: feature request | Status: closed Priority: normal | Milestone: 7.10.1 Component: libraries/base | Version: 7.8.2 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by thoughtpolice): * status: new => closed * resolution: => fixed Comment: This looks like it's done now. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9016#comment:12 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9016: Add System.Exit.die -------------------------------------+------------------------------------ Reporter: SimonHengel | Owner: Type: feature request | Status: closed Priority: normal | Milestone: 7.10.1 Component: libraries/base | Version: 7.8.2 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by bjornars): I compiled GHC from git with 7.6.3, which worked ok. Now trying to compile GHC from git again, with my newly compiled compiler, I get complaints about: {{{ utils/deriveConstants/DeriveConstants.hs:32:48: Ambiguous occurrence ‘die’ It could refer to either ‘Main.die’, defined at utils/deriveConstants/DeriveConstants.hs:880:1 or ‘System.Exit.die’, imported from ‘System.Exit’ at utils/deriveConstants/DeriveConstants.hs:22:1-18 utils/deriveConstants/DeriveConstants.hs:104:28: Ambiguous occurrence ‘die’ It could refer to either ‘Main.die’, defined at utils/deriveConstants/DeriveConstants.hs:880:1 or ‘System.Exit.die’, imported from ‘System.Exit’ at utils/deriveConstants/DeriveConstants.hs:22:1-18 utils/deriveConstants/DeriveConstants.hs:742:21: Ambiguous occurrence ‘die’ It could refer to either ‘Main.die’, defined at utils/deriveConstants/DeriveConstants.hs:880:1 or ‘System.Exit.die’, imported from ‘System.Exit’ at utils/deriveConstants/DeriveConstants.hs:22:1-18 utils/deriveConstants/DeriveConstants.hs:744:28: Ambiguous occurrence ‘die’ It could refer to either ‘Main.die’, defined at utils/deriveConstants/DeriveConstants.hs:880:1 or ‘System.Exit.die’, imported from ‘System.Exit’ at utils/deriveConstants/DeriveConstants.hs:22:1-18 utils/deriveConstants/DeriveConstants.hs:770:29: Ambiguous occurrence ‘die’ It could refer to either ‘Main.die’, defined at utils/deriveConstants/DeriveConstants.hs:880:1 or ‘System.Exit.die’, imported from ‘System.Exit’ at utils/deriveConstants/DeriveConstants.hs:22:1-18 utils/deriveConstants/DeriveConstants.hs:888:11: Ambiguous occurrence ‘die’ It could refer to either ‘Main.die’, defined at utils/deriveConstants/DeriveConstants.hs:880:1 or ‘System.Exit.die’, imported from ‘System.Exit’ at utils/deriveConstants/DeriveConstants.hs:22:1-18 }}} Is this the same issue? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9016#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9016: Add System.Exit.die
-------------------------------------+------------------------------------
Reporter: SimonHengel | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone: 7.10.1
Component: libraries/base | Version: 7.8.2
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by Herbert Valerio Riedel
participants (1)
-
GHC