[GHC] #7899: Strange behavior of -ddump-minimal-imports

#7899: Strange behavior of -ddump-minimal-imports ----------------------------------------+----------------------------------- Reporter: dsf | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: 7.6.2 | Keywords: Os: Linux | Architecture: x86_64 (amd64) Failure: Incorrect result at runtime | Blockedby: Blocking: | Related: ----------------------------------------+----------------------------------- The following two line module: {{{ import System.Exit main = undefined >>= undefined }}} when compiled with {{{ghc -c -ddump-minimal-imports Test.hs}}} produces the following in Main.imports: {{{ import System.Exit ( (>>=), undefined ) }}} Those symbols are not exported by System.Exit. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7899 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#7899: Strange behavior of -ddump-minimal-imports -------------------------------+-------------------------------------------- Reporter: dsf | Owner: Type: bug | Status: closed Priority: normal | Component: Compiler Version: 7.6.2 | Resolution: duplicate Keywords: | Os: Linux Architecture: x86_64 (amd64) | Failure: Incorrect result at runtime Blockedby: | Blocking: Related: | -------------------------------+-------------------------------------------- Changes (by monoidal): * status: new => closed * resolution: => duplicate Comment: Thanks for the report. It is a duplicate of #7476 and fixed in HEAD. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7899#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC