summary refs log tree commit diff stats
path: root/tests/async/tasyncexceptions.nim
Commit message (Collapse)AuthorAgeFilesLines
* lots of small changesArne Döring2018-12-111-1/+1
|
* require errormsg to be specified before file.Arne Döring2018-12-111-2/+1
|
* make tests green againAndreas Rumpf2018-07-051-1/+1
|
* Reverts 1446dc87c3. Fixes #4333. Fixes #4170.Dominik Picheta2016-06-151-0/+2
|
* Improve asyncdispatch error messages, fix some tests on Windows.Dominik Picheta2015-09-111-1/+1
|
* Async await try statement fixes.Dominik Picheta2015-02-091-1/+0
|
* Fixes async tests.Dominik Picheta2014-09-091-3/+3
|
* fix failed tests due to gcsafeAraq2014-08-121-8/+10
|
* Fixes incorrect async exception handling. Adds sleepAsync.Dominik Picheta2014-08-091-0/+38
The tasyncexceptions test has been added which tests for this incorrect exception handling behaviour. The problem was that the exception was raised inside a callback which was called from a previously finished async procedure. This caused a "Future already finished" error. The fix was to simply reraise the exception if the retFutureSym is already finished. sleepAsync was added to help with the reproduction of this test. It should also be useful for users however. Finally some debug information was added to futures to help with future bugs.