summary refs log tree commit diff stats
path: root/lib/system/fatal.nim
Commit message (Collapse)AuthorAgeFilesLines
* ref #20694; quit value gets saturated to ranges (#20753)ringabout2022-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | | * quit value gets saturated to ranges * add documentation * minimal changes * refactor * small fix * add documentation * fixes * Update lib/system.nim Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
* revert #20719; relieve `std/assertions` of the `sysFatal` dep (#20743)ringabout2022-11-041-7/+12
| | | | | | | * Revert "make `system/fatal` importable (#20718)" This reverts commit d735c447d35948ef6fda8270d1665cbd66c4636a. * relieve `std/assertions` of the sysFatal dep
* make `system/fatal` importable (#20719)ringabout2022-11-011-12/+7
|
* Remove side-effects from sysFatal with panics on (#20632)Tanguy2022-10-241-16/+17
|
* fix #16499 (#16514)flywind2021-01-041-10/+14
|
* 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