[GHC] #9887: No message when GCHI reusing compiled code

#9887: No message when GCHI reusing compiled code -------------------------------------+------------------------------------- Reporter: jsrice | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.8.3 Keywords: | Operating System: Architecture: Unknown/Multiple | Unknown/Multiple Difficulty: Easy (less than 1 | Type of failure: Other hour) | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Running ":l Main.hs" at the GHCI prompt would load the compiled module. I am new to Haskell and this was a stumbling block that made it so that I could not interactively debug my code with GHCI. Deleting the object files was suggested to me on IRC and that allowed me to get the "*Main" prompt I was looking for. A message warning users "reusing compiled code" would likely save some future users some time. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9887 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9887: No message when GCHI reusing compiled code -------------------------------------+------------------------------------- Reporter: jsrice | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.8.3 Resolution: | Keywords: Operating System: | Architecture: Unknown/Multiple Unknown/Multiple | Difficulty: Easy (less than 1 Type of failure: Other | hour) Test Case: | Blocked By: Blocking: | Related Tickets: Differential Revisions: | -------------------------------------+------------------------------------- Comment (by thomie): To reproduce: {{{ $ cat T9887.hs module T9887 where foo = "bar" $ ghc -c -dynamic T9887.hs $ ghci GHCi, version 7.8.3: ... Prelude> :l T9887 Ok, modules loaded: T9887. -- Should show: "reusing compiled code" Prelude T9887> :break 2 No modules are loaded with debugging support. -- Improve this message as well. }}} For whoever implements this suggestion: don't forget to update the [https://downloads.haskell.org/~ghc/7.8.3/docs/html/users_guide/ghci- compiled.html Users's guide]. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9887#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9887: No message when GCHI reusing compiled code -------------------------------------+------------------------------------- Reporter: jsrice | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.8.3 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Other | Unknown/Multiple Blocked By: | Test Case: Related Tickets: | Blocking: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thomie): * type: bug => feature request -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9887#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9887: No message when GCHI reusing compiled code -------------------------------------+------------------------------------- Reporter: jsrice | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.8.3 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * keywords: => newcomer Comment: That shouldn't be too hard. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9887#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9887: No message when GHCi reusing compiled code -------------------------------------+------------------------------------- Reporter: jsrice | Owner: Type: feature request | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.8.3 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9887#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9887: No message when GHCi reusing compiled code -------------------------------------+------------------------------------- Reporter: jsrice | Owner: lukyanov Type: feature request | Status: new Priority: normal | Milestone: Component: GHCi | Version: 7.8.3 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1991 Wiki Page: | -------------------------------------+------------------------------------- Changes (by lukyanov): * owner: => lukyanov * differential: => Phab:D1991 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9887#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9887: No message when GHCi reusing compiled code -------------------------------------+------------------------------------- Reporter: jsrice | Owner: lukyanov Type: feature request | Status: patch Priority: normal | Milestone: Component: GHCi | Version: 7.8.3 Resolution: | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1991 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => patch -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9887#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9887: No message when GHCi reusing compiled code
-------------------------------------+-------------------------------------
Reporter: jsrice | Owner: lukyanov
Type: feature request | Status: patch
Priority: normal | Milestone:
Component: GHCi | Version: 7.8.3
Resolution: | Keywords: newcomer
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D1991
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#9887: No message when GHCi reusing compiled code -------------------------------------+------------------------------------- Reporter: jsrice | Owner: lukyanov Type: feature request | Status: closed Priority: normal | Milestone: 8.0.1 Component: GHCi | Version: 7.8.3 Resolution: fixed | Keywords: newcomer Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Other | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1991 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed * milestone: => 8.0.1 Comment: Merged to `ghc-8.0`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9887#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC