[GHC] #14690: Pattern match failure in GHCi with :steplocal

#14690: Pattern match failure in GHCi with :steplocal --------------------------------------+--------------------------------- Reporter: Philonous | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.2 Keywords: | Operating System: Linux Architecture: x86_64 (amd64) | Type of failure: None/Unknown Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: --------------------------------------+--------------------------------- Using steplocal after breaking on an exception leads to GHCI giving a pattern match error Minimal testcase: {{{ Prelude> :set -fbreak-on-exception Prelude> error "abc" Stopped in <exception thrown>, <unknown> _exception :: e = _ [<unknown>] [<unknown>] Prelude> :steplocal *** Exception: Pattern match failure in do expression at ghc/GHCi/UI.hs:3149:12-18 }}} :step works as expected. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14690 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14690: Pattern match failure in GHCi with :steplocal ---------------------------------+-------------------------------------- Reporter: Philonous | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.2.2 Resolution: | Keywords: Operating System: Linux | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+-------------------------------------- Changes (by Philonous): * component: Compiler => GHCi -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14690#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14690: Pattern match failure in GHCi with :steplocal ---------------------------------+-------------------------------------- Reporter: Philonous | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.2.2 Resolution: | Keywords: debugger Operating System: Linux | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+-------------------------------------- Changes (by RyanGlScott): * keywords: => debugger -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14690#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14690: Pattern match failure in GHCi with :steplocal ---------------------------------+-------------------------------------- Reporter: Philonous | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.2.2 Resolution: | Keywords: debugger Operating System: Linux | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+-------------------------------------- Comment (by RolandSenn): Up to GHC 8.4.4 we get the ''Pattern match failure'' message as shown in the ticket. \\ With GHC 8.6.1 and higher we get a ''panic'' message: {{{ [<unknown>] Prelude> :steplocal <interactive>: panic! (the 'impossible' happened) (GHC version 8.6.1 for x86_64-unknown-linux): enclosingTickSpan UnhelpfulSpan }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14690#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC