Nim/tests/errmsgs
flywind 4e1e231e29
fix floats slice (#16853)
* see whether it breaks

* fix

* fix

* minor

* fix

* add enum

* use Ordinal types

* fix tests

* fix

* another style

* fix remainning cases
2021-01-29 12:26:36 +01: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 fixes #11942 (#11945) 2019-08-14 17:41:44 +02:00
t5870.nim disallow typedesc in arrays & move existing checks to types.typeAllowedAux (#13261) 2020-05-29 11:48:15 +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
t6608.nim fix #6608 (#14963) 2020-07-14 09:22:48 +02:00
t8339.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
t8434.nim fixes #13715 (#13716) 2020-03-22 20:01:01 +01:00
t8610.nim testament spec: remove errmsg alias of errormsg (#16188) 2020-11-29 17:32:34 -08:00
t8794.nim honor --declaredLocs in more places, including type mismatch errors; also show kind with --declaredLocs (#15673) 2020-10-27 14:19:28 +01:00
t9768.nim testament spec: remove errmsg alias of errormsg (#16188) 2020-11-29 17:32:34 -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
t10376.nim fix failing test 2019-11-07 11:04:41 +01:00
t10489_a.nim disallow typedesc in arrays & move existing checks to types.typeAllowedAux (#13261) 2020-05-29 11:48:15 +02:00
t10489_b.nim disallow typedesc in arrays & move existing checks to types.typeAllowedAux (#13261) 2020-05-29 11:48:15 +02:00
t10594.nim Stop useless suggestion of unsafeAddr (#10598) 2019-02-08 08:59:38 +01:00
t10734.nim close #10734 add testcase (#16692) 2021-01-12 12:10:22 +01:00
t10735.nim fix floats slice (#16853) 2021-01-29 12:26:36 +01:00
t12844.nim disallow typedesc in arrays & move existing checks to types.typeAllowedAux (#13261) 2020-05-29 11:48:15 +02:00
tcall_with_default_arg.nim Lineinfo fix (#10871) 2019-03-21 06:54:42 +01:00
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 fix tests 2019-07-08 15:24:20 -07:00
tdont_show_system.nim improve the 'has to be discarded' error message 2020-05-02 22:31:19 +02:00
temptysetparam.nim empty container param error msg (#11158) 2019-05-04 23:28:09 +02:00
tgcsafety.nim asynchttpserver cleanups [backport:1.0] (#15966) 2020-11-15 07:27:13 +01: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
tinteger_literals.nim Fix error lexer error messages for to large numbers (#10394) 2019-01-21 15:14:38 +01:00
tinvalidinout.nim make tests green again 2018-05-14 21:38:18 +02:00
tmake_tuple_visible.nim Tuple error message (#11141); fixes #3211 2019-05-15 17:59:06 +02:00
tmultiple_finally.nim Add checks for except: body blocks (#9191) 2018-10-09 14:09:22 +02:00
tnested_empty_seq.nim typetraits.$: $((int, float), int) is now "((int, float), int)" instead of "(tuple of (int, float), int)" (#14812) 2020-07-02 16:19:43 +02:00
tnested_generic_instantiation.nim fixes #11515 (#11624) 2019-07-01 18:08:50 +02:00
tnested_generic_instantiation2.nim fixes #11515 (#11624) 2019-07-01 18:08:50 +02:00
tnnodeadd.nim error for NimNode index kind (#12154) 2019-09-08 20:31:22 +02:00
tnnodeindex.nim error for NimNode index kind (#12154) 2019-09-08 20:31:22 +02:00
tnnodeindexkind.nim error for NimNode index kind (#12154) 2019-09-08 20:31:22 +02: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 [refactoring] refactor the compiler and stdlib to deprecation warnings (#11419) 2019-06-11 16:49:56 +02: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
tsigmatch.nim typetraits.$: $((int, float), int) is now "((int, float), int)" instead of "(tuple of (int, float), int)" (#14812) 2020-07-02 16:19:43 +02:00
tsigmatch2.nim fixes #12741 (#14005) 2020-04-19 11:59:01 +02:00
tstaticexprnotype.nim Open a new scope for static: expr blocks (#10649) 2019-02-23 12:05:07 +01:00
tstaticexprscope.nim testament spec: remove errmsg alias of errormsg (#16188) 2020-11-29 17:32:34 -08:00
tstaticresult.nim disallow static in return type (#9686) [nobackport] 2019-08-06 01:26:53 +02:00
ttypeAllowed.nim testament spec: remove errmsg alias of errormsg (#16188) 2020-11-29 17:32:34 -08:00
tuncheckedarrayvar.nim [backport] fix #11320 (#11538) 2019-07-03 08:00:40 +02:00
tunknown_named_parameter.nim strutils.nim: Use func everywhere (#16281) 2020-12-07 17:07:12 +01:00
twrong_at_operator.nim ungeneric unsigned ops (#12230) 2019-10-11 08:38:08 +02:00
twrongcolon.nim Implement rendering of []=, {}, {}= braces (#14539) 2020-06-01 19:56:17 +02:00
undeclared_routime.nim honor --declaredLocs in more places, including type mismatch errors; also show kind with --declaredLocs (#15673) 2020-10-27 14:19:28 +01: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