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

GHC ghc-devs at haskell.org
Tue May 20 05:14:55 UTC 2014


#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


More information about the ghc-tickets mailing list