git @ Cat's Eye Technologies Robin / c00b815
Begin unwinding error messages in TopLevel. Chris Pressey 5 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3636 collect ((List [Symbol "assert", expr]):rest) world@World{ env=env, results=results } =
3737 case eval env expr id of
3838 Abort expr ->
39 world{ results=((Left (Abort (Symbol ("uncaught exception: " ++ show expr)))):results) }
39 world{ results=((Left (Abort expr)):results) }
4040 Boolean False ->
4141 world{ results=((Left (Abort (Symbol ("assertion failed: " ++ show expr)))):results) }
4242 _ ->