[Hugs] #70: Uninformative error in do binding
#70: Uninformative error in do binding --------------------+------------------------------------------------------- Reporter: neil | Owner: nobody Type: defect | Status: new Priority: major | Milestone: Component: hugs | Version: 200609 Keywords: | --------------------+------------------------------------------------------- Given the program: {{{ main = do [] <- return "test" print "test"
main Program error: user error (match fails) }}}
It would be nice if the message at least mentioned "do" somewhere. The only way of figuring out what going wrong in a big program is to flip to GHC. -- Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/70> Hugs <http://www.haskell.org/hugs/> Hugs 98, an interpreter for Haskell
#70: Uninformative error in do binding ---------------------+------------------------------------------------------ Reporter: neil | Owner: nobody Type: defect | Status: closed Priority: major | Milestone: Component: hugs | Version: 200609 Resolution: fixed | Keywords: ---------------------+------------------------------------------------------ Changes (by ross): * resolution: => fixed * status: new => closed Comment: changed the message to "pattern match failure in do expression". -- Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/70> Hugs <http://www.haskell.org/hugs/> Hugs 98, an interpreter for Haskell
participants (1)
-
Hugs