summary refs log tree commit diff stats
path: root/tests/exception/texceptions.nim
Commit message (Collapse)AuthorAgeFilesLines
* make megatest consistent with unjoined tests wrt newlines, honor newlines in ↵Timothee Cour2020-11-281-0/+1
| | | | | | | output spec (#16151) * fix megatest newlines * still allow missing trailing newline for now but in a more strict way than before
* Error -> Defect for defects (#13908)Jacek Sieka2020-04-281-3/+3
| | | | | | | | | | | | | | * Error -> Defect for defects The distinction between Error and Defect is subjective, context-dependent and somewhat arbitrary, so when looking at an exception, it's hard to guess what it is - this happens often when looking at a `raises` list _without_ opening the corresponding definition and digging through layers of inheritance. With the help of a little consistency in naming, it's at least possible to start disentangling the two error types and the standard lib can set a good example here.
* Rework exception handling in the VM (#10544)LemonBoy2019-02-081-0/+51
| | | | | | | | | | | | | | | | | * Rework exception handling in the VM Make the safepoint handling more precise and less forgiving. The new code is clearer and more commented. Perform cleanup on `return`. The no-exception-thrown case in a try block should be slightly faster since we don't parse the whole set of exceptions every time. More tests. * Fix silly error that broke a few tests * Testament doesn't like files having the same name * Remove test case that failed compilation to js
* Fix semantic analysis with noReturn proc in tail pos (#10422)LemonBoy2019-01-231-0/+10
| | | Fixes #10417
* Fixed getCurrentException and getCurrentExceptionMsg. Closes #4635Yuriy Glukhov2016-08-291-3/+3
|
* fixes #2476Araq2015-04-191-3/+3
|
* new tester; all tests categorizedAraq2014-01-131-0/+66