summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-06-20 00:51:07 -0700
committerGitHub <noreply@github.com>2021-06-20 09:51:07 +0200
commit6030e139b5c630b5508dbe12d7b58c56264212b1 (patch)
treebf96b32677b329c25bea1f0fc8017c2f393a6d6f /lib/pure
parent590d457631290beacf97d945c5d3a625cc671645 (diff)
downloadNim-6030e139b5c630b5508dbe12d7b58c56264212b1.tar.gz
move {.injectStmt.} to experimental; add a test (#18300)
* move {.injectStmt.} to experimental; add a test

* undocument and deprecat `.injectStmt` but keep its implementation until we have a replacement
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/asyncdispatch.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/pure/asyncdispatch.nim b/lib/pure/asyncdispatch.nim
index 3866ebd24..b88d5ede8 100644
--- a/lib/pure/asyncdispatch.nim
+++ b/lib/pure/asyncdispatch.nim
@@ -176,8 +176,6 @@ export Port, SocketFlag
 export asyncfutures except callSoon
 export asyncstreams
 
-#{.injectStmt: newGcInvariant().}
-
 # TODO: Check if yielded future is nil and throw a more meaningful exception
 
 type