summary refs log tree commit diff stats
path: root/doc/advopt.txt
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2020-03-12 23:44:33 +0100
committerGitHub <noreply@github.com>2020-03-12 23:44:33 +0100
commita6682de0045468ae1d15afbd2fd5378960e15eb7 (patch)
tree85bca8b0a220e6295fe60bfc45487197acaf8b8d /doc/advopt.txt
parent14b2354b7da36041ca046e60e833b5be9a04f1e4 (diff)
downloadNim-a6682de0045468ae1d15afbd2fd5378960e15eb7.tar.gz
catchable defects (#13626)
* allow defects to be caught even for --exceptions:goto (WIP)
* implemented the new --panics:on|off switch; refs https://github.com/nim-lang/RFCs/issues/180
* new implementation for integer overflow checking
* produce a warning if a user-defined exception type inherits from Exception directly
* applied Timothee's suggestions; improved the documentation and replace the term 'checked runtime check' by 'panic'
* fixes #13627
* don't inherit from Exception directly
Diffstat (limited to 'doc/advopt.txt')
-rw-r--r--doc/advopt.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/advopt.txt b/doc/advopt.txt
index 517edab5b..1ebec0f49 100644
--- a/doc/advopt.txt
+++ b/doc/advopt.txt
@@ -146,3 +146,4 @@ Advanced options:
                             see also https://nim-lang.github.io/Nim/estp.html
   --benchmarkVM:on|off      enable benchmarking of VM code with cpuTime()
   --sinkInference:on|off    en-/disable sink parameter inference (default: on)
+  --panics:on|off           turn panics into process terminations (default: off)