-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Embed JVMSetupError inside TopLevelException datatype.
This means that JVMSetupError exceptions can now be caught by the standard TopLevelException handlers, and get shown with the expected stack traces in the saw-script REPL. This is done using a new existentially-typed `SomeTopLevelException` constructor, as recommended by the Control.Exception documentation. Fixes #1021.
- Loading branch information
Brian Huffman
committed
Feb 17, 2021
1 parent
31d691b
commit 3960578
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters