[GHC] #9997: "A module cannot import itself"-regression

#9997: "A module cannot import itself"-regression -------------------------------------+------------------------------------- Reporter: hvr | Owner: Type: bug | Status: new Priority: highest | Milestone: 7.10.1 Component: Compiler | Version: 7.10.1-rc1 Keywords: regression | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Blocked By: Test Case: | Related Tickets: Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- The following module could be compiled with GHC 7.8.4 and older, but fails with GHC 7.10: {{{#!hs {-# LANGUAGE PackageImports #-} module Control.DeepSeq where import "deepseq" Control.DeepSeq }}} {{{ $ ghci -Wall DeepSeq.hs GHCi, version 7.10.0.20141227: http://www.haskell.org/ghc/ :? for help [1 of 1] Compiling Control.DeepSeq ( DeepSeq.hs, interpreted ) DeepSeq.hs:5:1: A module cannot import itself: Control.DeepSeq Failed, modules loaded: none. λ:2> }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9997 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9997: "A module cannot import itself"-regression -------------------------------------+------------------------------------- Reporter: hvr | Owner: simonpj Type: bug | Status: new Priority: highest | Milestone: 7.10.1 Component: Compiler | Version: 7.10.1-rc1 Resolution: | Keywords: regression Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by hvr): * owner: => simonpj Comment: This seems to be an unintended side-effect of edd233acc19d269385c1a870829e0916a3df8e88 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9997#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9997: "A module cannot import itself"-regression -------------------------------------+------------------------------------- Reporter: hvr | Owner: simonpj Type: bug | Status: new Priority: highest | Milestone: 7.10.1 Component: Compiler | Version: 7.10.1-rc1 Resolution: | Keywords: regression Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: #9032 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by hvr): * related: => #9032 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9997#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9997: "A module cannot import itself"-regression
-------------------------------------+-------------------------------------
Reporter: hvr | Owner: simonpj
Type: bug | Status: new
Priority: highest | Milestone: 7.10.1
Component: Compiler | Version: 7.10.1-rc1
Resolution: | Keywords: regression
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: #9032 | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Simon Peyton Jones

#9997: "A module cannot import itself"-regression -------------------------------------+------------------------------------- Reporter: hvr | Owner: simonpj Type: bug | Status: merge Priority: highest | Milestone: 7.10.1 Component: Compiler | Version: 7.10.1-rc1 Resolution: | Keywords: regression Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: #9032 | module/T9997T | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by simonpj): * status: new => merge * testcase: => module/T9997T Comment: I believe I have fixed this. Merge to 7.10. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9997#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9997: "A module cannot import itself"-regression -------------------------------------+------------------------------------- Reporter: hvr | Owner: simonpj Type: bug | Status: closed Priority: highest | Milestone: 7.10.1 Component: Compiler | Version: 7.10.1-rc1 Resolution: fixed | Keywords: regression Operating System: Unknown/Multiple | Architecture: Type of failure: None/Unknown | Unknown/Multiple Blocked By: | Test Case: Related Tickets: #9032 | module/T9997 | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by hvr): * status: merge => closed * testcase: module/T9997T => module/T9997 * resolution: => fixed Comment: merged to ghc-7.10 with b5789dfc0720b1b67d3fdc3c9a77f19011a828d5 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9997#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC