summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-05-01 10:48:46 +0200
committerAraq <rumpf_a@web.de>2018-05-02 13:34:53 +0200
commit599b5d6dcbd8b73d98d1aaf2de94d3360229a699 (patch)
tree16dd2abe40bb595864a330dad860b91c6b26da6d /lib/system.nim
parentcc0ca43743f286d93c0e4b7adddecd7bb3e83e46 (diff)
downloadNim-599b5d6dcbd8b73d98d1aaf2de94d3360229a699.tar.gz
make 'not nil' experimental
Diffstat (limited to 'lib/system.nim')
-rw-r--r--lib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 5c0970f85..0c8659fda 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -3223,7 +3223,7 @@ when not defined(JS): #and not defined(nimscript):
     when declared(initGC): initGC()
 
   when not defined(nimscript):
-    proc setControlCHook*(hook: proc () {.noconv.} not nil)
+    proc setControlCHook*(hook: proc () {.noconv.})
       ## allows you to override the behaviour of your application when CTRL+C
       ## is pressed. Only one such hook is supported.