unison
unison copied to clipboard
Generate better stack trace on arithmetic overflow
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.