summary refs log tree commit diff stats
path: root/tests/vm
diff options
context:
space:
mode:
authorhlaaftana <10591326+hlaaftana@users.noreply.github.com>2020-05-01 10:49:13 +0300
committerGitHub <noreply@github.com>2020-05-01 09:49:13 +0200
commit9b01c6cf48de5bac8abd32f0327c729d177be653 (patch)
treef153d8fca13d010434d5f0f00a750b4ed46c6f07 /tests/vm
parentd5fc35c968c49c6f5529624108ed327095a548c4 (diff)
downloadNim-9b01c6cf48de5bac8abd32f0327c729d177be653.tar.gz
discardable async procs are now an error (#14176)
* add discard warning in manual
Diffstat (limited to 'tests/vm')
-rw-r--r--tests/vm/tslow_tables.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vm/tslow_tables.nim b/tests/vm/tslow_tables.nim
index a933021e0..37351bfe2 100644
--- a/tests/vm/tslow_tables.nim
+++ b/tests/vm/tslow_tables.nim
@@ -26,5 +26,5 @@ proc hop(): bool =
 
   echo "done"
 
-const r = hop()
+const r {.used.} = hop()