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

GHC ghc-devs at haskell.org
Fri Jan 19 15:41:48 UTC 2018


#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


More information about the ghc-tickets mailing list