summary refs log tree commit diff stats
path: root/icons
diff options
context:
space:
mode:
authorJake Leahy <jake@leahy.dev>2022-12-16 02:05:34 +1100
committerGitHub <noreply@github.com>2022-12-15 16:05:34 +0100
commitd88f46df388604c1d21a2a95482c3255dc5884b6 (patch)
tree9a2999198949ef6f1b5782067cfd3c4431b0cb2c /icons
parent91ce8c385d4ccbaab8048cf0393b01cd72282272 (diff)
downloadNim-d88f46df388604c1d21a2a95482c3255dc5884b6.tar.gz
Make async stacktraces less verbose (#21091)
* Name iterators something human readable

Remove intermediate async procs from stacktraces

Clean async traceback message from reraises message

* Remove unused import/variable

* Fix failing tests

Don't add {.stackTrace: off.} to anonymous procs (They already don't appear in stacktrace)

* Fix failing tests in pragma category

Now check that the nim is a routine type first so we don't run into any assertion defects

* Hide stack trace pragma in docs and update doc tests

User doesn't need to know if something won't appear so this more becomes verbose noise

If this is a bad idea we can always add a `when defined(nimdoc)` switch so we don't add {.stackTrace: off.} to the Future[T] returning proc for docs
Diffstat (limited to 'icons')
0 files changed, 0 insertions, 0 deletions