summary refs log tree commit diff stats
path: root/tests/effects
Commit message (Collapse)AuthorAgeFilesLines
* Error -> Defect for defects (#13908)Jacek Sieka2020-04-281-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.
* Add tests for #8481, #6490 and #4061 (#14083)Clyybber2020-04-231-0/+22
|
* '.push raises: []' now also affects proc types (#13776)Andreas Rumpf2020-03-291-2/+21
| | | | | | | | | * '.push raises: []' now also affects proc types * fixes the regression * less disruptive bugfix * another attempt
* better error messages for Nim's effect systemAraq2020-03-221-1/+2
|
* fixes a critical GC safety inference bug (#10615)Andreas Rumpf2019-03-051-0/+21
| | | | | | * fixes a critical GC safety inference bug * make nimsuggest compile again * make Nimble compile again
* fixes #6955Andreas Rumpf2019-02-131-1/+10
|
* Fix handling of reraise in effect tracking (#10582)LemonBoy2019-02-071-0/+12
| | | | | | This is the MVP in order not to get a completely useless error message from the compiler. Fixes #10579
* system refactorings (#10559)Andreas Rumpf2019-02-061-2/+2
| | | | | | | | * move IO subsystem into its own module; refs #10385 * make standalone test compile again * make C++ examples compile again * make more tests green * make sysAssert and gcAssert work again
* Fix exception tracking in try blocks (#10455)LemonBoy2019-01-271-0/+14
| | | | | | Exceptions raised inside a nkFinally/nkExcept block are not caught by the block itself. Fixes #3886
* require errormsg to be specified before file.Arne Döring2018-12-119-24/+7
|
* updated tests to be executedArne Döring2018-11-231-0/+5
|
* make tests green againAndreas Rumpf2018-07-053-4/+4
|
* make tests green againAndreas Rumpf2018-07-053-4/+4
|
* make tests green againAndreas Rumpf2018-05-021-1/+1
|
* make more tests greenAraq2018-02-101-1/+1
|
* make tests green againAndreas Rumpf2017-10-151-1/+1
|
* fixes #5620Araq2017-10-141-0/+12
|
* side-effect computation now done in the proper pass; fixes #4254Andreas Rumpf2016-08-251-3/+3
|
* tests: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-0410-20/+20
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* renamed writeln to writeLine in testspatrick dw2015-06-194-4/+4
|
* make test greenAraq2015-04-111-1/+1
|
* Clean up tests/effectsdef2015-02-041-1/+0
|
* fixes #325Araq2015-01-281-1/+1
|
* better effect inferenceAraq2014-11-021-1/+1
|
* made tests greenAraq2014-09-222-2/+3
|
* more tests greenAraq2014-08-312-8/+8
|
* fixes 'gcsafe'Araq2014-08-122-1/+17
|
* make some tests red :) (i.e. print failure details while running the tester)Zahary Karadjov2014-03-161-1/+1
|
* handle arbitrary expressions dependent on static input params in proc signaturesZahary Karadjov2014-03-161-1/+1
|
* fixes #584Araq2014-02-141-1/+1
|
* new tester; all tests categorizedAraq2014-01-1310-0/+198