unison icon indicating copy to clipboard operation
unison copied to clipboard

Generate better stack trace on arithmetic overflow

Open pchiusano opened this issue 1 year ago • 0 comments

foo = do Nat.shiftRight 1 maxNat
bar = do !foo
baz = do !bar
qux = do !baz
> !qux

This just produces:

  Now evaluating any watch expressions (lines starting with `>`)... Ctrl+C cancels.

Encountered exception:
arithmetic overflow

With no further information.

pchiusano avatar Feb 05 '24 19:02 pchiusano