Nim/tests/typerel
Jacek Sieka 7d6cbf290a
Error -> Defect for defects (#13908)
* 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.
2020-04-28 19:56:01 +02:00
..
t2plus.nim lots of small changes 2018-12-11 21:23:22 +01:00
t4799.nim Fix subtype conversion w/ varargs arguments (#10402) 2019-01-21 19:12:17 +01:00
t4799_1.nim Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00
t4799_2.nim Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00
t4799_3.nim Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00
t7600_1.nim fix tests 2019-07-08 15:24:20 -07:00
t7600_2.nim fix tests 2019-07-08 15:24:20 -07:00
t7734.nim Fix comparison of tyGenericBody in typerel (#8045) 2018-07-07 20:49:06 +02:00
t8172.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
t8905.nim Fix type comparison in semConv (#8907) 2018-09-07 21:06:30 +02:00
tclosure_nil_as_default.nim fixes #4328 2016-07-19 19:27:38 +02:00
tcommontype.nim new tester; all tests categorized 2014-01-13 02:10:03 +01:00
temptynode.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
texplicitcmp.nim megatest checks output and nimout 2018-12-11 21:23:22 +01:00
tgeneric_subtype_regression.nim better error messages: use <T1, T2> instead of (T1, T2) in order to prevent confusions with tuple types 2018-02-10 20:55:21 +01:00
tno_gcmem_in_shared.nim disabled unimportant old test 2015-07-02 14:57:02 +02:00
tno_int_in_bool_context.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tnoargopenarray.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
tnocontains.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tptrs.nim Restrict ptr/ref to ptr/ref implicit conversion (#10411) 2019-01-22 11:17:20 +01:00
trectuple.nim tuple field names are ignored 2014-12-23 17:54:22 +01:00
trectuples.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
trectype.nim real world examples compile 2016-12-06 15:37:09 +01:00
trefs.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tregionptrs.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tregionptrs2.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
trettypeinference.nim cleanup tests; don't use non-working 'msg' spec field 2018-11-23 13:16:45 +01:00
tsecondarrayproperty.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
tstr_as_openarray.nim added a test 2015-06-01 11:01:50 -05:00
tsymchoice_for_expr.nim Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
ttuple1.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
ttypedesc_as_genericparam1.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
ttypedesc_as_genericparam2.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
ttypelessemptyset.nim Don't hide overflow/underflow/divbyzero in semfold (#7732) 2018-05-02 08:54:09 +02:00
ttypenoval.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
ttypenovalue.nim new tester; all tests categorized 2014-01-13 02:10:03 +01:00
tvarargsexpr.nim Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
tvoid.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
typalias.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
typedescs.nim fixes #1774 2014-12-31 16:07:56 +01:00
typedescs2.nim close #9961 by adding a test 2019-05-30 12:34:27 +02:00
typeof_in_template.nim Improved collection-to-string behavior (#6825) 2017-12-14 14:02:13 +01:00
typredef.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00