summary refs log tree commit diff stats
path: root/compiler/enumtostr.nim
Commit message (Collapse)AuthorAgeFilesLines
* rename sfAlwaysReturn to sfNeverRaisesAraq2020-03-161-2/+2
|
* catchable defects (#13626)Andreas Rumpf2020-03-121-0/+2
| | | | | | | | | | * 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
* fixes #12821 (#12822)cooldome2019-12-061-5/+10
|
* Cosmetic compiler cleanup (#12718)Clyybber2019-11-281-15/+15
| | | | | | | | | | | | | | | | | | * Cleanup compiler code base * Unify add calls * Unify len invocations * Unify range operators * Fix oversight * Remove {.procvar.} pragma * initCandidate -> newCandidate where reasonable * Unify safeLen calls
* fixes #11205Araq2019-05-281-0/+56
|
* more efficient enumToStr implementation that works without the old typeinfo ↵Andreas Rumpf2019-04-071-0/+42
structures