psahabu
psahabu
# DEPRECATED: see #8626 ## current tasks ### awaiting implementation - [ ] standard library - [x] investigate/remove `try!` and `halt()` from module code (#8452) - [x] deprecate out error=...
### Summary of Problem When the Chapel compiler is compiled with PGI, it is unable to lower TryStmts and exits with a SIGSEV or SIGILL, which presents like a stack...
In response to #5458.
## Context The community has asked that error handling be made more ergonomic and legible. At the same time, we want to maintain control flow clarity like Swift. ## Design...
Including a standard `Error` hierarchy will help users take advantage of error handling out of the box without needing to create their own. Here's an incomplete starting point, taken from...
## motivation It may be necessary for array accesses to throw errors when indexing out of bounds. However, doing so with the current implementation adds overhead for both error and...
## today Here is an example of unhandled error messages in Chapel: ``` unableToOpenFile.chpl:1: error: uncaught error - No such file or directory in open with path "_test_cannotOpenMe.txt" ``` This...
### Summary of Problem Calling `stderr.writeln()` from a catch block in default mode causes incomprehensible errors to be emitted, rather than a properly inserted `halt()`. Explicitly wrapping the call in...
### Description Every `Error` in the Chapel error handling system is a class, but to hide this implementation detail from the user, the compiler inserts deletes for the handled error...
Currently, if a user attempts to use `defer` at the scope of a file or module, the following error is produced: ``` scope-defer.chpl:2: error: defer can only be used within...