Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make tests resilient to exceptions thrown while reporting exceptions (#…
…19566) Part of #19542. We protect against the case where `Exception.getMessage` or `Exception.getStackTrace` throw an exception. This change makes `testCompilation tests/neg/i8984.scala` fail as expected. `tests/neg/i8984.scala` is currently disabled (see #19561). `tests/neg/i8984.scala` will not be fixed in this PR. Making the test framework more resilient is a priority. Fixing this is the last part of #19542.
- Loading branch information