summary refs log tree commit diff stats
path: root/lib/system/fatal.nim
Commit message (Collapse)AuthorAgeFilesLines
* catchable defects (#13626)Andreas Rumpf2020-03-121-15/+4
| | | | | | | | | | * 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
* --exception:goto switch for deterministic exception handling (#12977)Andreas Rumpf2020-01-011-2/+18
| | | | | This implements "deterministic" exception handling for Nim based on goto instead of setjmp. This means raising an exception is much cheaper than in C++'s table based implementations. Supports hard realtime systems. Default for --gc:arc and the C target because it's generally a good idea and arc is all about deterministic behavior. Note: This implies that fatal runtime traps are not catchable anymore! This needs to be documented.
* styleCheck: make the compiler and large parts of the stdlib compatible with ↵Araq2019-07-101-4/+4
| | | | --styleCheck:error
* make -d:nimQuirky work with develAndreas Rumpf2019-04-201-0/+2
|
* move assertions and iterators out of system.nim (#10597)Miran2019-03-071-0/+47
* move assertions and iterators out of system.nim * limit nimsuggest tests to the first 3 suggestions