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.
95' href='#n195'>195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309