Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve printing of pure exceptions #145
The API may be called in ways where pure values contain exceptions, e.g. element div # set UI.text (error “oops”) This call will be translated into a message for the JavaScript side. Sending this message will fail, because it contains a _|_ value. We now try to force this exception in the translation phase, because this will result in a better error message.
- Loading branch information
1 parent
5e03c7e
commit f4ac93e
Showing
3 changed files
with
26 additions
and
8 deletions.
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
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