summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJake Leahy <jake@leahy.dev>2023-03-03 06:27:10 +1100
committerGitHub <noreply@github.com>2023-03-02 14:27:10 -0500
commitd4d28f2ffe522d2509dccfa7be0eef709732d93f (patch)
tree4f19bcc1c594ce8933474e82343f0222f2af1a00 /tests
parent38d299dfc0c9f1315cf412aa76cb041642d62f07 (diff)
downloadNim-d4d28f2ffe522d2509dccfa7be0eef709732d93f.tar.gz
Allow `futureLogging` in release builds (#21448)
* Add test case

* Fixes 21447: Keeps stackTrace around when using futureLogging

* Remove extra whitespace
Diffstat (limited to 'tests')
-rw-r--r--tests/async/t21447.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/async/t21447.nim b/tests/async/t21447.nim
new file mode 100644
index 000000000..e4f7ae31f
--- /dev/null
+++ b/tests/async/t21447.nim
@@ -0,0 +1,6 @@
+discard """
+  action: "compile"
+  cmd: "nim c -d:release -d:futureLogging $file"
+"""
+
+import std/asyncdispatch