summary refs log tree commit diff stats
path: root/tests/exception
Commit message (Collapse)AuthorAgeFilesLines
* fixes #11309 (#11310)Andreas Rumpf2019-05-231-0/+28
|
* revive #10228 (fix #9880) (#10610)Timothee Cour2019-02-132-0/+54
| | | | | | * Make index out of bounds more useful by including the 'bounds'. * fixes #9880 index out of bounds (remaining cases); revives #10228 * change err msg to: `index 3 not in 0 .. 1`
* 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
* [CI] now enables `NIM_COMPILE_TO_CPP=true` to run without allow_failures ↵Timothee Cour2019-01-171-0/+2
| | | | | | | | (#10315) * better fix for `nim cpp` bootstrap error: error: no member named raise_id * [CI] now enables runs NIM_COMPILE_TO_CPP=true without allow_failures * workaround refs #10343
* Fix defer not not-working at top level (#10191)Neelesh Chandola2019-01-071-9/+1
|
* require errormsg to be specified before file.Arne Döring2018-12-1112-36/+13
|
* don't raise exception in the default handler (#9783)alaviss2018-11-221-0/+6
| | | fixes #9657
* disable some tests for the C++ target; refs #7870Araq2018-11-151-34/+0
|
* Implements #9434. Minimal Stacktrace for Exceptions in release mode (#9480)cooldome2018-10-281-1/+3
| | | * Fixes #9434
* Merge branch 'Fixes-7845' of https://github.com/cooldome/Nim into ↵Araq2018-10-151-0/+15
|\ | | | | | | cooldome-Fixes-7845
| * Fixescooldome2018-06-121-1/+0
| |
| * Fixes 7845cooldome2018-06-101-0/+16
| |
* | fixes more nil handling regressionsAraq2018-08-131-2/+2
| |
* | make tests green againAndreas Rumpf2018-07-051-2/+2
|/
* Cpp codegen: handling of imported exceptions. Fixes #3571 (#7360)cooldome2018-04-101-0/+134
|
* fixes #7414 (#7434)cooldome2018-03-291-1/+21
|
* Allow only single infix as in except branches. Fixes #7115 (#7132)cooldome2018-03-081-0/+8
|
* make tests green againAraq2018-02-281-1/+0
|
* merged #6512 manually; fixes #6431Araq2018-02-271-0/+1
|
* genTryCpp to catch by Nim type, ready for first review (#7196)cooldome2018-02-123-0/+3
| | | | | | | | | | | | | | | | * Rewrite genTryCpp * correction * Implement polymorphic raise in cpp * revert backticks in emit * Cleanp a comment * revert test changes * better handling of <new> header
* nested finally bug (#7207)cooldome2018-02-121-1/+24
|
* Fix compiler crash on try expression with infix as (Fixes #7116) (#7112)cooldome2018-01-291-1/+9
| | | | | | * Fix compiler crash * make sure type is not lost
* Remove expr/stmt (#5857)Arne Döring2017-07-251-2/+2
|
* make tests green againAraq2017-07-201-5/+2
|
* fixes #5871Andreas Rumpf2017-07-201-3/+14
|
* fixes #5628Araq2017-03-301-0/+29
|
* Fixes test.Dominik Picheta2017-02-061-1/+1
|
* Add template tests for #3691.Dominik Picheta2017-02-061-4/+5
|
* Fixes incorrect scoping in semstmts.semTry.Dominik Picheta2017-02-061-1/+0
|
* More progress towards a working #3691.Dominik Picheta2017-02-031-1/+16
|
* WIP: `as` with generics.Dominik Picheta2017-02-021-6/+6
|
* WIP implementation of `except ExcType as ident` syntax. Refs #3691.Dominik Picheta2017-02-011-0/+10
|
* Fixed getCurrentException and getCurrentExceptionMsg. Closes #4635Yuriy Glukhov2016-08-291-3/+3
|
* Fixed js codegen issue for uncaught exceptions.Yuriy Glukhov2016-08-271-3/+2
|
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-047-10/+10
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* Fixed defer test.Yuriy Glukhov2015-08-071-0/+1
|
* destructors now work with overloaded assignment operators; fixes #2811; ↵Araq2015-08-051-1/+25
| | | | fixes #1632
* fixes #1888Araq2015-04-275-24/+24
|
* fixes #2476Araq2015-04-192-5/+5
|
* some love for the testsuite; fixed regressionsAraq2015-03-011-0/+18
|
* more tests greenAraq2014-08-315-18/+18
|
* Added test cases for return in except statements.Audun Wilhelmsen2014-02-232-0/+60
|
* Added tougher test case for return within finally statement.Audun Wilhelmsen2014-02-231-0/+40
|
* Fixed issue 391 (nested break in except-stmts)Audun Wilhelmsen2014-02-161-0/+45
|
* new tester; all tests categorizedAraq2014-01-1311-0/+304