Nim/tests/errmsgs
Timothee Cour 6ce3949c8a
add isNamedTuple; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) which leaked implementation detail (#10070)
* add `isNamedTuple`; make $(1, 2) be (1, 2) instead of leaking implementation detail (Field0: 1, Field1: 2)
  fixes this: #8670 (comment) /cc @alehander42 @Vindaar @mratsim

* Note: isNamedTuple is useful in other places, eg #10010 (comment)

* move isNamedTuple to helpers.nim to avoid exposing new symbol to system.nim

* remove workaround in tests/vm/tissues.nim failing test now that #10218 was makes it work
2019-01-08 18:37:25 -08:00
..
m8794.nim [error messages, stacktraces] fix #8794 #9270 #9767 #9768 (#9766) 2019-01-08 15:58:47 -08:00
t1154.nim make tests green again 2018-07-05 15:51:04 +02:00
t4756.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
t5167_1.nim Fixes #5167 and related problems (#5475) 2017-03-12 09:33:49 +01:00
t5167_2.nim Fixes #5167 and related problems (#5475) 2017-03-12 09:33:49 +01:00
t5167_3.nim Fixes #5167 and related problems (#5475) 2017-03-12 09:33:49 +01:00
t5167_4.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
t5167_5.nim make tests green again 2018-09-24 16:00:57 +02:00
t6281.nim Test case for #6281 (#8190) 2018-07-02 22:53:00 +02:00
t6483.nim lots of small changes 2018-12-11 21:23:22 +01:00
t8339.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
t8434.nim fixes #8434 (incomplete info in errmsg about 'required type') (#8441) 2018-07-30 10:41:59 +02:00
t8794.nim [error messages, stacktraces] fix #8794 #9270 #9767 #9768 (#9766) 2019-01-08 15:58:47 -08:00
t9768.nim [error messages, stacktraces] fix #8794 #9270 #9767 #9768 (#9766) 2019-01-08 15:58:47 -08:00
t9908_01.nim Float values are invalid in enum 2018-12-09 14:20:01 +05:30
t9908_02.nim Float values are invalid in enum 2018-12-09 14:20:01 +05:30
tcannot_capture_builtin.nim fixes #2050 2016-12-30 02:21:15 +01:00
tcant_overload_by_return_type.nim fixes #6393 2018-04-21 22:49:15 +02:00
tconceptconstraint.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
tdetailed_position.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
tdont_show_system.nim compiler: better error messages (#5613) 2017-03-26 20:24:06 +02:00
tgcsafety.nim improve the error message for 'addQuitProc' etc; fixes #5794 2018-09-03 12:27:23 +02:00
tgeneral_excepts.nim Add checks for except: body blocks (#9191) 2018-10-09 14:09:22 +02:00
tgenericconstraint.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
tinvalidinout.nim make tests green again 2018-05-14 21:38:18 +02:00
tmake_tuple_visible.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
tmultiple_finally.nim Add checks for except: body blocks (#9191) 2018-10-09 14:09:22 +02:00
tnested_empty_seq.nim fixes #3948 2018-04-12 20:09:44 +02:00
tnested_generic_instantiation.nim add isNamedTuple; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) which leaked implementation detail (#10070) 2019-01-08 18:37:25 -08:00
tnested_generic_instantiation2.nim add isNamedTuple; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) which leaked implementation detail (#10070) 2019-01-08 18:37:25 -08:00
tnon_concrete_cast.nim don't allow casting to non-concrete types; fixes #5428 (#5502) 2017-03-12 09:27:05 +01:00
tproper_stacktrace.nim lots of small changes 2018-12-11 21:23:22 +01:00
tproper_stacktrace2.nim make tests green again 2018-04-28 10:00:31 +02:00
tproper_stacktrace3.nim fixes #5400 2017-02-16 22:50:21 +01:00
treportunused.nim fixes #10101 (#10103) 2018-12-27 22:40:09 +01:00
tshow_asgn.nim improve line info retreival (#9822) 2018-11-30 08:12:11 +01:00
tunknown_named_parameter.nim fixes #8043 2018-09-03 16:07:44 +02:00
twrong_at_operator.nim fixes #7331 2018-03-18 17:56:28 +01:00
twrongcolon.nim improve error message for twrongcolon 2018-02-06 09:15:54 +01:00
undeclared_routime.nim fixes #8671; show helpful msg (lookup symbol, eg iterator) on 'attempting to call undeclared routine' error (#8786) 2018-10-14 01:16:04 +02:00
undeclared_routime2.nim fixes #8671; show helpful msg (lookup symbol, eg iterator) on 'attempting to call undeclared routine' error (#8786) 2018-10-14 01:16:04 +02:00
undeclared_routime3.nim fixes #8671; show helpful msg (lookup symbol, eg iterator) on 'attempting to call undeclared routine' error (#8786) 2018-10-14 01:16:04 +02:00
undeclared_routime4.nim fixes #8671; show helpful msg (lookup symbol, eg iterator) on 'attempting to call undeclared routine' error (#8786) 2018-10-14 01:16:04 +02:00
undeclared_routime5.nim fixes #8671; show helpful msg (lookup symbol, eg iterator) on 'attempting to call undeclared routine' error (#8786) 2018-10-14 01:16:04 +02:00
undeclared_routime_compiles.nim fixes #8671; show helpful msg (lookup symbol, eg iterator) on 'attempting to call undeclared routine' error (#8786) 2018-10-14 01:16:04 +02:00