Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Error -> Defect for defects (#13908) | Jacek Sieka | 2020-04-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | * Error -> Defect for defects The distinction between Error and Defect is subjective, context-dependent and somewhat arbitrary, so when looking at an exception, it's hard to guess what it is - this happens often when looking at a `raises` list _without_ opening the corresponding definition and digging through layers of inheritance. With the help of a little consistency in naming, it's at least possible to start disentangling the two error types and the standard lib can set a good example here. | ||||
* | catchable defects (#13626) | Andreas Rumpf | 2020-03-12 | 1 | -1/+1 |
| | | | | | | | | | | * 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 | ||||
* | require errormsg to be specified before file. | Arne Döring | 2018-12-11 | 1 | -1/+0 |
| | |||||
* | tests: Trim .nim files trailing whitespace | Adam Strzelecki | 2015-09-04 | 1 | -2/+2 |
| | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + | ||||
* | made some tests green | Araq | 2014-08-31 | 1 | -2/+1 |
| | |||||
* | Changed tests and tools to use 'discard' statements instead of 'nil' for ↵ | Clay Sweetser | 2014-02-15 | 1 | -1/+1 |
| | | | | empty blocks. | ||||
* | new tester; all tests categorized | Araq | 2014-01-13 | 1 | -0/+19 |