Nim/tests/errmsgs
flywind d102b2f54c
deprecate unsafeAddr; extend addr (#19373)
* deprecate unsafeAddr; extend addr

addr is now available for all addressable locations, unsafeAddr is deprecated and become an alias for addr

* follow @Vindaar's advice

* change the signature of addr

* unsafeAddr => addr (stdlib)

* Update changelog.md

* unsafeAddr => addr (tests)

* Revert "unsafeAddr => addr (stdlib)"

This reverts commit ab83c99c507048a8396e636bf22d55fdd84d7d1c.

* doc changes; thanks to @konsumlamm

Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>

Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
2022-01-16 11:08:38 +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 close #17636 (#17643) 2021-04-06 16:20:01 +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 typeToString: type float => typedesc[float] (#17011) 2021-02-12 17:10:20 +01: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
t10251.nim implements overloadable enum values; WIP (#18470) 2021-07-28 12:46:28 +02:00
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 deprecate unsafeAddr; extend addr (#19373) 2022-01-16 11:08:38 +01:00
t10734.nim fixed dot operator recursive loop & macro suggest (#16922) 2021-02-15 09:51:05 +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
t17460.nim style usages part one (openarray => openArray) (#19321) 2022-01-04 13:29:50 +01:00
t18327.nim fix #18327 (#18328) 2021-06-22 12:44:56 +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 close #17636 (#17643) 2021-04-06 16:20:01 +02:00
tdeclaredlocs.nim improve --declaredLocs to help disambiguate types (generics, aliases etc) (#18389) 2021-07-08 12:28:06 +02: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: ipv6 support (#18706) 2021-08-18 14:25:25 +02:00
tgeneral_excepts.nim Add checks for except: body blocks (#9191) 2018-10-09 14:09:22 +02:00
tgenericconstraint.nim close #17636 (#17643) 2021-04-06 16:20:01 +02: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 deprecate unsafeAddr; extend addr (#19373) 2022-01-16 11:08:38 +01:00
tproc_mismatch.nim improve --declaredLocs to help disambiguate types (generics, aliases etc) (#18389) 2021-07-08 12:28:06 +02:00
tproper_stacktrace.nim style usages part one (openarray => openArray) (#19321) 2022-01-04 13:29:50 +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 rename nimFpRoundtrips => nimPreviewFloatRoundtrip (#18566) 2021-07-23 14:57:47 -07:00
tshow_asgn.nim improve line info retreival (#9822) 2018-11-30 08:12:11 +01:00
tsigmatch.nim style usages part one (openarray => openArray) (#19321) 2022-01-04 13:29:50 +01: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
tundeclared_field.nim followup #17777: declaredloc field error msgs now work with generics (#18259) 2021-06-14 08:21:18 +02:00
tundeclared_routine.nim fix #17859; rename tests so they run in CI; merge several tests with nim check (#17862) 2021-04-27 10:42:24 +02:00
tundeclared_routine_compiles.nim fix #17859; rename tests so they run in CI; merge several tests with nim check (#17862) 2021-04-27 10:42:24 +02:00
tunknown_named_parameter.nim strutils.nim: Use func everywhere (#16281) 2020-12-07 17:07:12 +01:00
twrong_at_operator.nim close #17636 (#17643) 2021-04-06 16:20:01 +02:00
twrongcolon.nim close #17636 (#17643) 2021-04-06 16:20:01 +02:00