Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | do not track 'raise Defect' in the .raises: [] clause anymore (#14298) | Andreas Rumpf | 2020-05-11 | 1 | -2/+2 |
| | | | | | | | | | * do not track 'raise Defect' in the .raises: [] clause anymore * --panics:on maps 'raise Defect' to an unrecoverable fatal error * make tests green again * update the documentation too | ||||
* | Error -> Defect for defects (#13908) | Jacek Sieka | 2020-04-28 | 1 | -2/+2 |
| | | | | | | | | | | | | | | * 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. | ||||
* | Fix exception tracking in try blocks (#10455) | LemonBoy | 2019-01-27 | 1 | -0/+14 |
Exceptions raised inside a nkFinally/nkExcept block are not caught by the block itself. Fixes #3886 |