summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-01-07 23:09:26 +0100
committerAndreas Rumpf <rumpf_a@web.de>2018-01-07 23:09:26 +0100
commite4081a720190dfdeb347442cdc2c01745476ff9c (patch)
tree2387777859fc0f44c4321f04831d2b322c9ce9ce /lib
parent3af73682e5382d89055f25ac567337e6958d7c70 (diff)
downloadNim-e4081a720190dfdeb347442cdc2c01745476ff9c.tar.gz
preparations for language extensions: 'sink' and 'lent' types
Diffstat (limited to 'lib')
-rw-r--r--lib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index de91c4dda..8f83fb8c3 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -249,7 +249,7 @@ type
 when defined(nimHasOpt):
   type opt*{.magic: "Opt".}[T]
 
-when defined(nimHasSink):
+when defined(nimNewRuntime):
   type sink*{.magic: "BuiltinType".}[T]
   type lent*{.magic: "BuiltinType".}[T]