diff options
author | hlaaftana <10591326+hlaaftana@users.noreply.github.com> | 2020-05-01 10:49:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 09:49:13 +0200 |
commit | 9b01c6cf48de5bac8abd32f0327c729d177be653 (patch) | |
tree | f153d8fca13d010434d5f0f00a750b4ed46c6f07 /tests/vm | |
parent | d5fc35c968c49c6f5529624108ed327095a548c4 (diff) | |
download | Nim-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.nim | 2 |
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() |