Nim/tests/assert
Andreas Rumpf a0eca75182
sink parameter inference for types that have destructors (#13544)
* ensure capitalize doesn't take an inferred sink parameter

* sink parameter inference: first version, for now disabled. Changed that sink parameters can be consumed multiple times in order to adhere to our spec.

* sink inference can now be disabled with .nosinks; sometimes for proc type interop this is required

* fixes yet another critical DFA bug

* better implementation that also understands if expressions etc

* document sink parameter inference and allow for global disabling
2020-03-04 14:28:53 +01:00
..
config.nims assertions: fixes #11545 (#11605) 2019-07-01 13:19:07 +02:00
tassert.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tassert2.nim [backport] Fix spelling typos (#12755) 2019-11-28 08:30:55 +01:00
tassert_c.nim sink parameter inference for types that have destructors (#13544) 2020-03-04 14:28:53 +01:00
tdoassert.nim test suite: rename tests containing 'fail' for easier search in logs 2019-11-26 16:04:28 +01:00
testhelper.nim assertions: fixes #11545 (#11605) 2019-07-01 13:19:07 +02:00
trelativeassert.nim assertions: fixes #11545 (#11605) 2019-07-01 13:19:07 +02:00
tunittests.nim Fixed broken test. Added closureScope test. 2016-06-28 13:15:02 +03:00
tuserassert.nim Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00