dmd/compiler/test/fail_compilation
Teodor Dutu fcff1b51ba
Translate _d_newarray{U,iT,T} to a single template (#15299)
* druntime: Copy array allocation functions to `core.internal.array.utils`

This copies `__setArrayAllocLength()`, `__arrayAlloc()` and moves
`__arrayStart()` and `__arrayClearPad()` to
`core.internal.array.utils.d`. This is needed because `_d_newarrayT()`
calls these functions from `rt.lifetime.d`, but the file cannot be
imported from `core.internal.array.creation.d`.

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>

* Translate `_d_newarray{U,iT,T}` to a single template

This achieves the following:
- Convert `_d_newarray{U,iT,T}` to a single template `_d_newarrayT` that
handles arrays of elements that either have an init symbol or are
zero-initialised.
- Move compiler lowering to the semantic phase
- Store lowered expression in `NewExp.lowering`

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>

---------

Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
2023-10-24 10:44:55 +03:00
..
extra-files
fail22121/imports/test22121
imports Fix issue 23947: If checking access after overload resolution, only check the specific overload selected, not the most public overload of the set. (#15282) 2023-06-13 10:20:08 +03:00
protection/subpkg
aa_init.d Fix Issue 15752 - Better Error Message for Assigning Incorrect AA Empty Value (#15599) 2023-09-12 11:55:20 +03:00
aacmp10381.d
aliasassign.d
aliasassign1.d
aliasassign2.d
alignas2.c
alignedext.i
already_defined.d
attributediagnostic.d
attributediagnostic_nogc.d
attributediagnostic_nothrow.d
attributediagnostic_pure.d
attrpure.i
b3841.d
b6227.d
b12504.d
b15069.d
b15875.d
b15909.d
b16967.d
b17285.d
b17918.d
b19523.d
b19685.d
b19691.d
b19691e.d
b19717.d
b19717a.d
b19730.d
b20011.d
b20780.d
b20875.d
betterc.d
biterrors.d
biterrors2.d
biterrors3.d [dmd/parse] Refactor enum declaration (#15397) 2023-07-19 13:01:40 +03:00
biterrors4.d
bitfields1.c
bitfields2.c
bug5.d
bug5b.d
bug4283.d
bug5096.d
bug8150a.d
bug8150b.d
bug8891.d Improve "need this" error (#15430) 2023-07-20 12:41:02 +03:00
bug9631.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
bug15613.d
bug16165.d
bug18743.d
bug19569.d
call_function_type.d
callconst.d Fix Issue 24023 - Unnecessary module prefix in error message types (#15370) 2023-06-30 18:36:30 +03:00
casttuple.d Fix Issue 15436 - Compiler still refers to AliasSeq-s as "tuple"-s (#15363) 2023-06-30 11:02:00 +03:00
ccast.d Add tests to verify new location for ccast errors 2023-10-04 06:43:50 +02:00
cconst1.c
cdeprecated.i
cenums.c
cerrors.d
checkimports2.d
chkformat.d fix Issue 24133 - printf format checking of %n allows writing to const pointers (#15569) 2023-09-03 05:10:24 -07:00
circ10280.d
class1.d
class2.d
commaexp.d
constraints_aggr.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
constraints_defs.d
constraints_func1.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
constraints_func2.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
constraints_func3.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
constraints_func4.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
constraints_tmpl.d
covariant_override.d
cpp_abi_tag.d
cpp_abi_tag2.d
cppeh1.d
cppeh2.d
cppmangle.d Fix Issue 15436 - Compiler still refers to AliasSeq-s as "tuple"-s (#15363) 2023-06-30 11:02:00 +03:00
cppmangle2.d
cppvar.d
ctfe10989.d
ctfe10995.d
ctfe11467.d
ctfe13612.d
ctfe14207.d
ctfe14465.d
ctfe14731.d
ctfeblock.d
ctypes.d
cwords.d
dassert.d Fix Issue 15436 - Compiler still refers to AliasSeq-s as "tuple"-s (#15363) 2023-06-30 11:02:00 +03:00
dbitfields.d
ddoc_18083.d
debugCaseDeclaration.d
dep_d1_ops.d
depmsg.d
depmsg15814.d
depmsg15815.d
deprecate1553.d
deprecate12979a.d
deprecate12979b.d
deprecate12979c.d
deprecate12979d.d
deprecate_getVirtualFunctions.d
deprecated6760.d
deprecatedImports.d
deprecatedTemplates.d
deprecateopdot.d
deprecations.d
deprecations_preview_in.d
diag1566.d
diag1730.d
diag2452.d
diag3013.d
diag3438.d
diag3672.d
diag3672a.d
diag3673.d
diag3869.d
diag3913.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
diag4479.d
diag4528.d
diag4540.d
diag4596.d fix Issue 24024 - cannot pass class this to ref class (#15389) 2023-07-06 00:36:58 -07:00
diag5385.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
diag5450.d
diag6373.d
diag6539.d
diag6677.d
diag6699.d
diag6707.d
diag6717.d
diag6743.d
diag6796.d
diag7050a.d
diag7050b.d
diag7050c.d
diag7420.d
diag7477.d Improve error when generating first enum member of non-scalar type 2023-09-08 21:34:05 +02:00
diag7747.d
diag7998.d
diag8044.d
diag8101.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
diag8101b.d
diag8178.d
diag8318.d
diag8425.d
diag8510.d
diag8559.d
diag8648.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
diag8684.d
diag8697.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
diag8714.d
diag8777.d
diag8787.d
diag8825.d
diag8892.d
diag8894.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
diag8928.d
diag9004.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
diag9148.d
diag9191.d
diag9210a.d
diag9247.d
diag9250.d
diag9312.d
diag9357.d
diag9358.d
diag9398.d
diag9420.d
diag9451.d Fix 24060 - Improve "Cannot create instance of abstract class" error (#15463) 2023-07-28 10:17:20 +02:00
diag9479.d
diag9620.d
diag9635.d Improve "need this" error (#15430) 2023-07-20 12:41:02 +03:00
diag9679.d
diag9765.d
diag9831.d
diag9861.d
diag9880.d
diag9961.d
diag10089.d
diag10099.d
diag10141.d
diag10169.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
diag10221.d
diag10221a.d
diag10319.d
diag10327.d
diag10359.d
diag10405.d
diag10415.d
diag10688.d
diag10768.d
diag10783.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
diag10792.d
diag10805.d
diag10862.d
diag10926.d
diag10984.d
diag11078.d
diag11132.d
diag11198.d
diag11423.d
diag11425.d
diag11727.d
diag11756.d
diag11759.d
diag11769.d
diag11819a.d
diag11819b.d
diag11840.d
diag12063.d Change to use gagging instead of callback 2023-09-08 17:20:57 +01:00
diag12124.d
diag12280.d
diag12312.d
diag12380.d
diag12432.d
diag12480.d
diag12487.d
diag12640.d
diag12678.d
diag12777.d
diag12829.d Improve @nogc closure error (#15526) 2023-08-12 10:58:49 +02:00
diag13028.d
diag13082.d
diag13109.d
diag13142.d
diag13215.d
diag13281.d
diag13320.d
diag13333.d
diag13528.d
diag13609a.d Improve expected } error after aggregate members (#15528) 2023-08-12 10:58:35 +02:00
diag13609b.d
diag13787.d
diag13884.d Fix Issue 15436 - Compiler still refers to AliasSeq-s as "tuple"-s (#15363) 2023-06-30 11:02:00 +03:00
diag13942.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
diag14102.d
diag14145.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
diag14163.d
diag14235.d
diag14818.d
diag14875.d
diag14876.d Fix Issue 15436 - Compiler still refers to AliasSeq-s as "tuple"-s (#15363) 2023-06-30 11:02:00 +03:00
diag15001.d
diag15186.d
diag15209.d Improve "need this" error (#15430) 2023-07-20 12:41:02 +03:00
diag15235.d
diag15340.d
diag15411.d
diag15669.d
diag15713.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
diag15974.d
diag16271.d
diag16499.d
diag16976.d
diag16977.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
diag18460.d
diag18574.d
diag19022.d
diag19196.d
diag19225.d
diag20059.d
diag20268.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
diag20518.d
diag21883.d
diag23295.d
diag23355.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
diag23384.d
diag_class_alloc.d
diag_cstyle.d
diag_debug_conditional.d
diag_err1.d
diag_funclit.d
diag_in_array.d
diag_template_alias.d
diag_template_this.d
diagin.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
diaginref.d
dip22a.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
dip22b.d
dip22e.d
dip25.d
dip25flag.d
dip1000_deprecation.d CLI: Remove obsolete flag and all its warnings, undocument -wo flag 2023-09-23 16:05:48 +02:00
disable.d
disable_new.d
dtor_attributes.d riden should be ridden (#15309) 2023-06-12 15:46:15 +02:00
dtorfields_attributes.d
e7804_1.d
e7804_2.d
e15876_1.d Fix Issue 24000 - show open bracket "{" location for Error: matching … (#15334) 2023-06-26 14:00:34 +02:00
e15876_2.d Fix Issue 24000 - show open bracket "{" location for Error: matching … (#15334) 2023-06-26 14:00:34 +02:00
e15876_3.d Fix Issue 24000 - show open bracket "{" location for Error: matching … (#15334) 2023-06-26 14:00:34 +02:00
e15876_4.d Fix Issue 24000 - show open bracket "{" location for Error: matching … (#15334) 2023-06-26 14:00:34 +02:00
e15876_5.d Fix Issue 24000 - show open bracket "{" location for Error: matching … (#15334) 2023-06-26 14:00:34 +02:00
e15876_6.d [parse] Improve TypeCtor(...) errors (#15444) 2023-07-22 22:41:15 +02:00
emptyModulePattern.d
enum9921.d
enum_function.d [stable] Make enum function a deprecation, not an error (#15533) 2023-08-15 23:23:08 +01:00
enum_init.d Improve error message for declaring opaque type variable (#15327) 2023-06-16 14:49:36 +03:00
enum_member.d [dmd/parse] Refactor enum declaration (#15397) 2023-07-19 13:01:40 +03:00
enumtype.c
enumtype2.c
fail3.d
fail9.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
fail10.d
fail11.d
fail12.d
fail14.d
fail15.d
fail16.d
fail17.d
fail18.d
fail20.d
fail22.d
fail23.d
fail24.d
fail25.d Improve "need this" error (#15430) 2023-07-20 12:41:02 +03:00
fail27.d
fail34.d
fail35.d
fail36.d
fail37_m32.d
fail37_m64.d
fail38.d
fail39.d
fail40.d
fail41.d
fail42.d
fail44.d
fail45.d
fail46.d Improve "need this" error (#15430) 2023-07-20 12:41:02 +03:00
fail47.d
fail50.d Improve "need this" error (#15430) 2023-07-20 12:41:02 +03:00
fail51.d
fail52.d
fail53.d
fail54.d
fail55.d
fail56.d
fail57.d
fail58.d
fail59.d
fail60.d
fail61.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
fail62.d
fail63.d
fail66.d Fix 24056 - const uninitialized data at module scope is not in TLS (#15458) 2023-07-28 17:04:00 +02:00
fail72.d
fail73.d
fail74.d
fail75.d
fail76.d
fail77.d
fail78.d
fail79.d
fail80_m32.d
fail80_m64.d
fail86.d
fail91.d
fail92.d
fail93.d
fail94.d
fail95.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
fail96.d
fail97.d
fail98.d
fail99.d
fail100.d
fail101.d
fail104.d
fail105.d
fail106.d
fail109.d Fix test 2023-09-08 17:42:57 +01:00
fail110.d
fail111.d
fail113.d
fail114.d
fail115.d
fail116.d
fail117.d
fail118.d
fail120.d Improve "need this" error (#15430) 2023-07-20 12:41:02 +03:00
fail121.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
fail122.d
fail123.d
fail124.d
fail125.d
fail126.d
fail127.d
fail129.d
fail131.d
fail132.d
fail133.d
fail134.d
fail136.d resurrect hex string literals (#15393) 2023-09-01 16:30:55 +02:00
fail139.d
fail142.d Fix 24060 - Improve "Cannot create instance of abstract class" error (#15463) 2023-07-28 10:17:20 +02:00
fail143.d Improve "need this" error (#15430) 2023-07-20 12:41:02 +03:00
fail144.d Reduce quotes clutter on ctfe assert failure (#15438) 2023-07-24 10:15:47 +03:00
fail145.d Reduce quotes clutter on ctfe assert failure (#15438) 2023-07-24 10:15:47 +03:00
fail150.d
fail152.d
fail153.d
fail154.d
fail155.d
fail156.d
fail158.d
fail159.d
fail160.d
fail161.d
fail162.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
fail163.d
fail169.d
fail170.d
fail172.d
fail176.d
fail177.d
fail179.d
fail180.d
fail183.d
fail184.d
fail185.d
fail187.d
fail188.d
fail189.d
fail190.d
fail192.d
fail193.d
fail194.d
fail195.d
fail196.d Tweak expected ; error 2023-08-10 18:34:51 +01:00
fail198.d
fail199.d
fail200.d
fail201.d
fail202.d
fail203.d
fail204.d
fail205.d
fail206.d
fail207.d
fail208.d
fail209.d
fail212.d
fail213.d
fail215.d
fail216.d
fail217.d
fail218.d
fail220.d
fail221.d
fail222.d Fix Issue 15436 - Compiler still refers to AliasSeq-s as "tuple"-s (#15363) 2023-06-30 11:02:00 +03:00
fail223.d
fail224.d
fail228.d
fail229.d
fail231.d
fail232.d
fail235.d remove error() from Expression (#15646) 2023-10-07 23:12:14 -07:00
fail236.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
fail237.d
fail238_m32.d
fail238_m64.d
fail239.d
fail240.d
fail241.d
fail243.d
fail244.d
fail245.d
fail246.d
fail247.d
fail248.d
fail249.d
fail250.d
fail251.d
fail252.d
fail253.d
fail254.d
fail256.d
fail257.d
fail258.d
fail259.d
fail261.d
fail262.d
fail263.d
fail264.d
fail265.d
fail267.d
fail270.d
fail272.d
fail273.d
fail275.d
fail276.d
fail278.d
fail279.d
fail280.d
fail281.d
fail282.d
fail284.d
fail285.d
fail287.d
fail288.d
fail289.d
fail290.d
fail291.d
fail296.d
fail297.d
fail298.d
fail299.d
fail301.d Improve "need this" error (#15430) 2023-07-20 12:41:02 +03:00
fail302.d
fail303.d
fail304.d
fail305.d
fail306.d
fail307.d
fail308.d
fail309.d
fail310.d
fail311.d
fail312.d
fail313.d
fail315.d Fix Issue 24000 - show open bracket "{" location for Error: matching … (#15334) 2023-06-26 14:00:34 +02:00
fail316.d
fail317.d
fail318_b.d
fail319.d
fail320.d
fail322.d
fail325.d
fail327.d Fix test to show unsafe behaviour 2023-05-10 23:19:39 +02:00
fail328.d
fail329.d
fail330.d
fail331.d
fail332.d
fail333.d
fail334.d
fail335.d
fail336.d
fail337.d
fail340.d
fail341.d
fail343.d
fail344.d
fail346.d
fail347.d
fail349.d
fail351.d
fail352.d
fail353.d
fail354.d
fail355.d
fail356a.d
fail356b.d
fail356c.d
fail359.d
fail1900.d Fix Issue 21852 - diagnostic: One-liner errors with formatted Loc should print context when -verrors=context (#15529) 2023-08-11 09:06:00 +08:00
fail1995.d
fail2195.d
fail2350.d
fail2361.d
fail2450.d
fail2456.d
fail2656.d
fail2740.d
fail2789.d Turn overloading extern(C) functions into an error 2023-05-10 16:48:32 +02:00
fail2962.d
fail3144.d
fail3150.d
fail3290.d
fail3354.d
fail3581a.d
fail3581b.d
fail3672.d
fail3673a.d
fail3673b.d
fail3703.d
fail3731.d
fail3753.d
fail3882.d Remove warning for discarded return value (#15718) 2023-10-22 16:04:27 +08:00
fail3895.d
fail3990.d
fail4082.d
fail4206.d
fail4269a.d
fail4269b.d
fail4269c.d
fail4269d.d
fail4269e.d
fail4269f.d
fail4269g.d
fail4374.d
fail4375a.d
fail4375b.d
fail4375c.d
fail4375d.d
fail4375e.d
fail4375f.d
fail4375g.d
fail4375h.d
fail4375i.d
fail4375j.d
fail4375k.d
fail4375l.d
fail4375m.d
fail4375o.d
fail4375p.d
fail4375q.d
fail4375r.d
fail4375s.d
fail4375t.d
fail4375u.d
fail4375v.d
fail4375w.d
fail4375x.d
fail4375y.d
fail4421.d
fail4448.d
fail4510.d
fail4511.d
fail4544.d
fail4611.d
fail4923.d Fix 24056 - const uninitialized data at module scope is not in TLS (#15458) 2023-07-28 17:04:00 +02:00
fail4958.d
fail5153.d
fail5435.d
fail5634.d
fail5733.d
fail5851.d Merge stable (#15429) 2023-07-18 10:55:05 +02:00
fail5908.d
fail5953a1.d
fail5953a2.d
fail5953s1.d
fail5953s2.d
fail6029.d
fail6107.d
fail6242.d
fail6334.d
fail6451.d
fail6453.d
fail6458.d
fail6497.d
fail6561.d
fail6592.sh
fail6611.d
fail6652.d
fail6781.d
fail6795.d
fail6889.d
fail6968.d
fail7077.d
fail7173.d
fail7178.d
fail7234.d
fail7352.d
fail7369.d
fail7372.d
fail7424b.d
fail7424c.d
fail7424d.d
fail7424e.d
fail7424f.d
fail7424g.d
fail7424h.d
fail7424i.d
fail7443.d
fail7524a.d
fail7524b.d
fail7603a.d
fail7603b.d
fail7603c.d
fail7702.d
fail7751.d
fail7848.d
fail7851.d Improve "need this" error (#15430) 2023-07-20 12:41:02 +03:00
fail7859.d
fail7861.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
fail7862.d
fail7903.d
fail8009.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
fail8032.d
fail8168.d
fail8179b.d
fail8217.d
fail8262.d
fail8313.d
fail8373.d
fail8631.d
fail8691.d
fail8724.d
fail9063.d
fail9081.d
fail9199.d
fail9279.d
fail9290.d
fail9301.d
fail9346.d
fail9413.d
fail9414a.d
fail9414b.d
fail9414c.d
fail9414d.d
fail9537.d
fail9562.d
fail9572.d
fail9613.d [parse] Improve TypeCtor(...) errors (#15444) 2023-07-22 22:41:15 +02:00
fail9665a.d
fail9665b.d
fail9710.d
fail9735.d
fail9766.d
fail9773.d
fail9790.d
fail9891.d
fail9892.d
fail9936.d
fail10082.d
fail10102.d
fail10115.d
fail10207.d
fail10254.d
fail10277.d
fail10285.d [dmd/parse] Refactor enum declaration (#15397) 2023-07-19 13:01:40 +03:00
fail10299.d
fail10346.d
fail10481.d
fail10528.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
fail10534.d Improve invalid operator error message (#15620) 2023-09-21 15:40:32 +03:00
fail10630.d
fail10666.d
fail10806.d
fail10947.d
fail10964.d
fail10968.d
fail10980.d
fail11038.d
fail11042.d
fail11125.d
fail11151.d
fail11163.d
fail11355.d
fail11375.d
fail11426.d
fail11445.d
fail11453a.d
fail11453b.d
fail11503a.d
fail11503b.d
fail11503c.d
fail11503d.d
fail11510.d
fail11532.d
fail11542.d
fail11545.d Improve "need this" error (#15430) 2023-07-20 12:41:02 +03:00
fail11552.d
fail11562.d
fail11591b.d
fail11653.d
fail11714.d
fail11746.d
fail11748.d
fail11751.d
fail12047.d
fail12236.d
fail12255.d
fail12378.d
fail12390.d
fail12436.d Fix Issue 15436 - Compiler still refers to AliasSeq-s as "tuple"-s (#15363) 2023-06-30 11:02:00 +03:00
fail12485.sh
fail12604.d
fail12622.d
fail12635.d
fail12636.d
fail12730a.d
fail12730b.d
fail12744.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
fail12749.d
fail12764.d
fail12809.d
fail12901.d
fail12908.d
fail12932.d
fail13064.d
fail13116.d fix Issue 24024 - cannot pass class this to ref class (#15389) 2023-07-06 00:36:58 -07:00
fail13120.d
fail13123.d
fail13187.d
fail13203.d
fail13336a.d
fail13336b.d
fail13424.d
fail13434_m32.d
fail13434_m64.d
fail13435.d
fail13498.d
fail13574.d
fail13577.d
fail13601.d
fail13701.d
fail13756.d
fail13775.d
fail13902.d
fail13938.d
fail13939.d
fail14009.d
fail14089.d
fail14249.d
fail14277.d
fail14304.d
fail14406.d
fail14416.d
fail14486.d
fail14554.d
fail14669.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
fail14965.d
fail14997.d
fail15044.d
fail15068.d
fail15089.d
fail15361.d
fail15414.d make deprecation message less confusing 2023-05-17 15:22:02 +02:00
fail15535.d
fail15550.d
fail15616a.d
fail15616b.d
fail15616c.d
fail15616d.d
fail15626.d
fail15667.d
fail15691.d
fail15755.d Fix Issue 15436 - Compiler still refers to AliasSeq-s as "tuple"-s (#15363) 2023-06-30 11:02:00 +03:00
fail15896.d fix Issue 18528 - dmd should deduplicate identical errors (#15312) 2023-07-03 10:32:23 +02:00
fail16001.d
fail16206a.d
fail16206b.d
fail16575.d
fail16600.d
fail16689.d
fail16772.d Fix Issue 23971 - Provide clearer error message when trying to return a slice with C++ linkage (#15336) 2023-06-21 14:16:55 +03:00
fail16997.d
fail17105.d
fail17275.d
fail17354.d
fail17419.d
fail17421.d
fail17491.d
fail17492.d
fail17502.d
fail17518.d
fail17570.d Improve expected } error after aggregate members (#15528) 2023-08-12 10:58:35 +02:00
fail17602.d
fail17612.d
fail17625.d
fail17630.d
fail17646.d
fail17689.d
fail17722a.d
fail17722b.d
fail17842.d
fail17906.d
fail17927.d
fail17955.d Fix 24060 - Improve "Cannot create instance of abstract class" error (#15463) 2023-07-28 10:17:20 +02:00
fail17969.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
fail17976.d
fail18057.d
fail18057b.d
fail18093.d
fail18143.d
fail18219.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
fail18228.d
fail18236.d
fail18243.d
fail18372.d
fail18417.d
fail18620.d
fail18719.d
fail18892.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
fail18938.d
fail18970.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
fail18979.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
fail18985.d
fail18994.d
fail19038.d
fail19076.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
fail19098.d
fail19099.d
fail19103.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
fail19181.d
fail19182.d
fail19202.d
fail19209.d riden should be ridden (#15309) 2023-06-12 15:46:15 +02:00
fail19319a.d
fail19319b.d
fail19336.d
fail19441.d
fail19447.d
fail19520.d
fail19609.d
fail19687.d
fail19729.d
fail19744.d
fail19757_m32.d
fail19757_m64.d
fail19759.d
fail19871.d
fail19881.d
fail19890a.d
fail19890b.d
fail19897.d
fail19898a.d
fail19898b.d
fail19911a.d
fail19911b.d
fail19911c.d
fail19912a.d
fail19912b.d
fail19912c.d
fail19912d.d
fail19912e.d
fail19913.d
fail19914.d
fail19915.d
fail19917.d
fail19919.d
fail19922.d
fail19923.d
fail19931.d
fail19941.d
fail19948.d
fail19955.d
fail19965.d
fail20000.d
fail20033.d
fail20040.d
fail20073.d
fail20084.d
fail20108.d
fail20163.d
fail20164.d
fail20183.d
fail20376.d
fail20448.d
fail20461.d
fail20538.d [dmd/parse] Refactor enum declaration (#15397) 2023-07-19 13:01:40 +03:00
fail20551.d
fail20609.d
fail20616.d
fail20637.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
fail20638.d
fail20658.d
fail20691.d
fail20714.d
fail20730a.d
fail20730b.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
fail20771.d
fail20772.d
fail20775.d
fail20779.d
fail20800.d
fail20965.d
fail21001.d
fail21091a.d
fail21091b.d
fail21092.d
fail21206.d Fix Issue 23971 - Provide clearer error message when trying to return a slice with C++ linkage (#15336) 2023-06-21 14:16:55 +03:00
fail21214.d
fail21227_posix.d
fail21227_win.d
fail21243.d
fail21275.d Make 'private function is not accessible' deprecation an error. (#15319) 2023-06-16 14:51:14 +03:00
fail21314.d
fail21508.d
fail21508_2.d
fail21547.d
fail21830.d
fail21831.d
fail21832.d
fail21849.d
fail21868b.d
fail21885.d
fail21928.d
fail21928b.d
fail21980.c
fail22006.d
fail22035.d
fail22039.d
fail22054.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
fail22075.d
fail22084.d
fail22118.d
fail22121.d
fail22127.d
fail22133.d
fail22134.d
fail22138.d
fail22144.d
fail22151.d
fail22157.d
fail22202.d
fail22351.d
fail22366.d
fail22529.d Tweak expected ; error 2023-08-10 18:34:51 +01:00
fail22570.d
fail22634.d
fail22729.d Fix Issue 13063 - enum is allowed as storage class for functions (#15405) 2023-07-14 14:39:56 +03:00
fail22749.d
fail22780.d revert deprecation of scope class (#15380) 2023-07-12 10:37:42 -07:00
fail22812.c
fail22825a.d
fail22825b.d
fail22827.d
fail22852.c resurrect hex string literals (#15393) 2023-09-01 16:30:55 +02:00
fail22853a.i
fail22853b.c
fail22857.d
fail22881.d
fail23036.d
fail23108a.d
fail23108b.d
fail23109.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
fail23135.d
fail23151.d
fail23181.d
fail23406.d
fail23439.d
fail23574.d
fail23591.d
fail23626a.d Turn overloading extern(C) functions into an error 2023-05-10 16:48:32 +02:00
fail23626b.d
fail23745.d riden should be ridden (#15309) 2023-06-12 15:46:15 +02:00
fail23760.d
fail23773.d
fail23816.d
fail23822.d
fail23826.d
fail23861.d
fail_arrayexp.d
fail_arrayop1.d
fail_arrayop2.d
fail_arrayop3a.d
fail_arrayop3b.d
fail_arrayop3c.d
fail_casting.d
fail_casting1.d
fail_casting2.d
fail_circular.d
fail_circular2.d
fail_contracts1.d
fail_contracts2.d
fail_contracts3.d
fail_contracts4.d
fail_isZeroInit.d
fail_opover.d
fail_pretty_errors.d
fail_scope.d CLI: Remove obsolete flag and all its warnings, undocument -wo flag 2023-09-23 16:05:48 +02:00
fail_typeof.d
failasm.d
failasm2.d
failattr.d
failcontracts.d Fix tests after failed merge (#15432) 2023-07-19 18:14:34 +02:00
failCopyCtor.d
failCopyCtor2.d
failcstuff1.c
failcstuff2.c
failcstuff3.c
failcstuff4.c Improve error message for declaring opaque type variable (#15327) 2023-06-16 14:49:36 +03:00
failcstuff4b.i Fix tests race condition for fail_compilation/failcstuff4.{c,i} 2023-06-06 01:22:34 +02:00
failcstuff5.c
failcstuff6.c
faildeleteaa.d
faildottypeinfo.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
failescape.d
failinout1.d
failinout2.d
failob1.d
failob2.d
failoffset.d
failsafea.d
failsafeb.d
failsafec.d
finalswitch.d
finalswitch_verbose.d
fix350a.d
fix350b.d
fix5212.d
fix17349.d
fix17751.d
fix18575.d
fix19018.d
fix19059.d
fix19246.d
fix21585.d
fix22104.c
fix22108.d
fix22253.c fix Issue 23719 - runnable/test22071.c:22:16: error: .abc. is a pointer; did you mean to use .->.? (#15287) 2023-06-01 14:06:41 +03:00
fix22263.c
fix22265.c
fix22342.c
fix23138.d
fnconstraint.d Improve expected } error after aggregate members (#15528) 2023-08-12 10:58:35 +02:00
fob1.d
fob2.d
foreach.d
foreach2.d
format.d Improve pragma(printf) signature error message (#15403) 2023-07-13 12:31:17 +02:00
funcpostattr.d Fix Issue 4663 - Wrong 'static' position error message (#15321) 2023-06-14 08:42:32 +03:00
gag4269a.d
gag4269b.d
gag4269c.d
gag4269d.d
gag4269e.d
gag4269f.d
gag4269g.d
gccasm1.c
generic.c
generic2.c
goto1.d
goto2.d
goto3.d
goto_skip.d Fix Issue 21852 - diagnostic: One-liner errors with formatted Loc should print context when -verrors=context (#15529) 2023-08-11 09:06:00 +08:00
hexstring.d Implicitly convert hexstring to byte[] (#15567) 2023-10-09 18:33:08 +03:00
iasm1.d
ice1144.d
ice1358.d
ice2843.d
ice4094.d
ice4983.d
ice5996.d
ice6538.d remove error() from Expression (#15646) 2023-10-07 23:12:14 -07:00
ice7645.d Improve "need this" error (#15430) 2023-07-20 12:41:02 +03:00
ice7782.d
ice8100.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
ice8309.d
ice8499.d
ice8604.d
ice8630.d
ice8711.d
ice8742.d
ice8795.d
ice8795b.d
ice9013.d
ice9254a.d
ice9254b.d
ice9254c.d
ice9273a.d
ice9273b.d
ice9284.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
ice9291.d
ice9338.d
ice9406.d
ice9439.d Improve "need this" error (#15430) 2023-07-20 12:41:02 +03:00
ice9494.d
ice9540.d
ice9545.d
ice9759.d
ice9806.d
ice9865.d
ice10016.d
ice10076.d
ice10212.d
ice10259.d
ice10273.d
ice10283.d
ice10341.d
ice10382.d
ice10419.d
ice10598.d
ice10599.d
ice10600.d
ice10616.d
ice10624.d
ice10651.d
ice10713.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
ice10727a.d Translate _d_newarray{U,iT,T} to a single template (#15299) 2023-10-24 10:44:55 +03:00
ice10727b.d Translate _d_newarray{U,iT,T} to a single template (#15299) 2023-10-24 10:44:55 +03:00
ice10922.d
ice10938.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
ice10949.d
ice11086.d
ice11136.d
ice11153.d
ice11404.d
ice11472.d
ice11513a.d
ice11513b.d
ice11518.d Fix Issue 21852 - diagnostic: One-liner errors with formatted Loc should print context when -verrors=context (#15529) 2023-08-11 09:06:00 +08:00
ice11552.d
ice11553.d
ice11626.d
ice11726.d
ice11793.d
ice11822.d
ice11849b.d
ice11850.d
ice11856_0.d
ice11856_1.d Better UFCS failure diagnostic (#15208) 2023-05-11 09:59:50 +03:00
ice11919.d
ice11922.d
ice11925.d
ice11926.d
ice11944.d
ice11963.d
ice11965.d Fix Issue 24000 - show open bracket "{" location for Error: matching … (#15334) 2023-06-26 14:00:34 +02:00
ice11967.d
ice11968.d
ice11969.d
ice11974.d
ice11982.d Tweak expected ; error 2023-08-10 18:34:51 +01:00
ice12040.d
ice12158.d
ice12174.d
ice12235.d
ice12350.d
ice12362.d
ice12397.d
ice12501.d
ice12534.d
ice12539.d
ice12574.d Fix Issue 15436 - Compiler still refers to AliasSeq-s as "tuple"-s (#15363) 2023-06-30 11:02:00 +03:00
ice12581.d
ice12673.d
ice12727.d
ice12827.d
ice12836.d
ice12838.d
ice12841.d
ice12850.d
ice12902.d
ice12907.d
ice13027.d
ice13081.d
ice13131.d
ice13220.d
ice13221.d
ice13225.d
ice13311.d
ice13356.d
ice13382.d
ice13385.d
ice13459.d
ice13465a.d
ice13465b.d
ice13563.d
ice13644.d
ice13788.d
ice13816.d
ice13835.d
ice13921.d
ice13987.d
ice14055.d
ice14096.d
ice14116.d
ice14130.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
ice14146.d
ice14177.d
ice14185.d
ice14272.d
ice14424.d Fix Issue 15436 - Compiler still refers to AliasSeq-s as "tuple"-s (#15363) 2023-06-30 11:02:00 +03:00
ice14446.d
ice14621.d
ice14642.d
ice14844.d
ice14907.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
ice14923.d
ice15002.d
ice15092.d
ice15127.d
ice15172.d
ice15317.d
ice15332.d Improve "need this" error (#15430) 2023-07-20 12:41:02 +03:00
ice15441.d
ice15688.d
ice15788.d
ice15816.d
ice15855.d Fix Issue 24000 - show open bracket "{" location for Error: matching … (#15334) 2023-06-26 14:00:34 +02:00
ice15922.d Improve "need this" error (#15430) 2023-07-20 12:41:02 +03:00
ice16035.d
ice16657.d
ice17074.d
ice17690.d
ice17831.d
ice18469.d
ice18753.d
ice18803a.d
ice18803b.d
ice19755.d
ice19762.d
ice19887.d
ice19950.d
ice20042.d
ice20056.d Improve "need this" error (#15430) 2023-07-20 12:41:02 +03:00
ice20057.d
ice20264.d
ice20545.d
ice20709.d
ice21060.d
ice21095.d
ice22377.d
ice22516.d
ice23097.d
ice23564.d
ice23569.d
ice23781.d
iconv_interface_array.d
impconv.d
imphint.d
init1.c
invalid_lib.d
isreturnonstack.d
issue3396.d fix issue 3396 - call to unimplemented abstract method lead to linkin… (#15652) 2023-10-12 07:18:26 +08:00
issue3827.d
issue11070.d Fix issue 11070 - Allow declaration statement in a switch expression (#15656) 2023-10-09 08:02:34 +08:00
issue15103.d
issue16020.d
issue20422.d Fix Issue 11612 - Inconsistent error on negative new array size (#15359) 2023-06-28 10:20:40 +03:00
issue20627.d
issue20704.d
issue21203.d
issue21295.d
issue21378.d
issue21685_main.d
issue22682.d fix issue 22682 - pragma(mangle) does not work for nested functions (#15582) 2023-09-08 13:14:19 +03:00
issue22820.d
issue22826.d
issue23947.d Make 'private function is not accessible' deprecation an error. (#15319) 2023-06-16 14:51:14 +03:00
json.d
json2.d
json3.d
jsonBadField1.d
jsonBadField2.d
lexer1.d resurrect hex string literals (#15393) 2023-09-01 16:30:55 +02:00
lexer2.d resurrect hex string literals (#15393) 2023-09-01 16:30:55 +02:00
lexer3.d
lexer4.d Improve repeated integer suffix error message (#15342) 2023-06-26 10:07:10 +03:00
lexer5.d
lexer23465.d
lookup.d
main.d Fix Issue 21852 - diagnostic: One-liner errors with formatted Loc should print context when -verrors=context (#15529) 2023-08-11 09:06:00 +08:00
makedeps_doubleparam.d
makedeps_nofile.d
makedeps_wrongflag.d
malformed_cmain.c
malformed_cmain.d
mangle1.d
mangle2.d
match_func_ptr.d Add tests 2023-09-01 11:18:04 +01:00
misc1.d
misc_parser_err_cov1.d Tweak expected ; error 2023-08-10 18:34:51 +01:00
missingbrace.d Fix Issue 24000 - show open bracket "{" location for Error: matching … (#15334) 2023-06-26 14:00:34 +02:00
mixin.d
mixin_gc.d
mixin_template.d
mixinexpr.d Improve incomplete mixin expression/type errors (#15482) 2023-08-01 10:02:27 +03:00
mixinprop.d
mixintype2.d Improve incomplete mixin expression/type errors (#15482) 2023-08-01 10:02:27 +03:00
moduleundefuda.d
msg24094.c ImportC: better diagnostic for malformed __declspec 2023-08-22 08:07:13 +02:00
must_use.d
must_use_comma.d
must_use_opunary.d
must_use_reserved.d
must_use_template.d
must_use_union.d
named_arguments_error.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
named_arguments_overload.d
named_arguments_parse.d
needspkgmod.d
needspkgmod2.d
nestedtempl0.d
nestedtempl1.d
nestedtempl2.d
nestedtempl3.d
newaa.d
no_object.d
no_Throwable.d
no_TypeInfo.d
nogc1.d
nogc2.d
nogc3.d Improve @nogc closure error (#15526) 2023-08-12 10:58:49 +02:00
noreturn.d Reduce quotes clutter on ctfe assert failure (#15438) 2023-07-24 10:15:47 +03:00
noreturn2.d Fix 24054 - return expression expected on noreturn function (#15439) 2023-07-24 10:13:26 +03:00
noreturn_expr.d Fix Issue 24117 - noreturn can be used as expression (#15562) 2023-08-31 12:39:31 +03:00
noreturn_expr2.d Fix Issue 24117 - noreturn can be used as expression (#15562) 2023-08-31 12:39:31 +03:00
notype.d
numliteral.c
objc_class1.d
objc_class2.d
objc_class3.d
objc_non_objc_base.d
objc_offsetof.d
objc_tupleof.d
opapplyscope.d
operator_undefined.d Improve invalid operator error message (#15620) 2023-09-21 15:40:32 +03:00
parse12924.d
parse12967a.d
parse12967b.d
parse13361.d
parse14285.d
parse14745.d
parse19277.d
parseStc.d Tweak expected ; error 2023-08-10 18:34:51 +01:00
parseStc2.d
parseStc3.d
parseStc4.d
parseStc5.d
pragma2.c
pragmainline.d
pragmas.d
previewin.d
previewin2.d
protattr1.d
protattr2.d
protattr3.d
pull12941.d
README.md
reg6769.d
reserved_version.d compiler/test: add tests to test LoongArch-related reserved versions 2023-10-04 21:47:14 +08:00
reserved_version_switch.d compiler/test: add tests to test LoongArch-related reserved versions 2023-10-04 21:47:14 +08:00
responsefile.d
retref2.d
retscope.d Improve @nogc closure error (#15526) 2023-08-12 10:58:49 +02:00
retscope2.d
retscope3.d
retscope4.d
retscope5.d
retscope6.d
safe_gshared.d
safe_pointer_index.d
scope_class.d revert deprecation of scope class (#15380) 2023-07-12 10:37:42 -07:00
shared.d
skip.d Improve switch skipping variable errors 2023-08-07 15:15:59 +01:00
spell9644.d
spell23908.d Fix 23908 - confusing nonexistent import hint on cyclic import 2023-05-09 14:42:12 +02:00
static_import.d Add test for "static import cannot have an import bind list" 2023-05-08 21:29:15 +02:00
staticarrayoverflow.d
staticassertargs.d
staticassertargsfail.d
staticforeach1.d
staticforeach2.d
staticforeach3.d
staticforeach4.d
switch_skip.d Use -verrors=context for one test 2023-08-09 11:36:43 +01:00
switches.d Improve switch skipping variable errors 2023-08-07 15:15:59 +01:00
systemvariables.d Add supplemental error for @system variable access (#15464) 2023-08-01 12:08:49 +02:00
systemvariables_deprecation.d
systemvariables_struct.d
systemvariables_var_init.d Add supplemental error for @system variable access (#15464) 2023-08-01 12:08:49 +02:00
systemvariables_void_init.d
t1252.d
template_decl.d
template_function_oop.d Fix Issue 11455 - Overriding template methods should raise a compile … (#15350) 2023-07-17 12:53:43 +03:00
templateoverload.d
templatethis.d
test1.d
test10.d
test64.d
test128.i
test143.d
test314.d
test1021.d
test3818.d
test4682.d
test4682a.d
test4838.d
test4946.d
test5412a.d
test5412b.d
test5412c.d
test5412c2.di
test6883.d
test8509.d
test8556.d
test8662.d Fix 8662 - Better error for duplicate labels inside static foreach body (#15466) 2023-07-28 10:36:36 +02:00
test8751.d
test9150.d
test9176.d
test9701.d [dmd/parse] Refactor enum declaration (#15397) 2023-07-19 13:01:40 +03:00
test9701b.d
test11006.d
test11047.d
test11176.d
test11471.d
test12228.d
test12385.d
test12430.d
test12558.d
test12822.d
test12979.d
test13152.d
test13536.d CLI: Remove obsolete flag and all its warnings, undocument -wo flag 2023-09-23 16:05:48 +02:00
test13537.d
test13667.d
test13698.d
test13786.d
test13867.d
test14064.d
test14238.d
test14496.d
test14538.d
test15177.d
test15191.d
test15306.d
test15368.d
test15373.d
test15399.d
test15525.d
test15544.d
test15660.d
test15672.d
test15703.d
test15704.d
test15785.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
test15785b.d
test15897.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
test15925.d
test15989.d
test16095.d
test16116.d
test16188.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
test16193.d Improve @nogc closure error (#15526) 2023-08-12 10:58:49 +02:00
test16195.d
test16228.d
test16284.d
test16365.d CLI: Remove obsolete flag and all its warnings, undocument -wo flag 2023-09-23 16:05:48 +02:00
test16381.d
test16495.d
test16523.d
test16589.d
test16694.d
test17096.d
test17284.d
test17307.d
test17380.d
test17380spec.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
test17422.d
test17423.d
test17425.d
test17450.d
test17451.d
test17586.d
test17764.d
test17868.d
test17868b.d
test17892.d
test17908a.d
test17908b.d
test17959.d
test17977.d
test18130.d
test18282.d
test18312.d
test18385.d Turn overloading extern(C) functions into an error 2023-05-10 16:48:32 +02:00
test18385b.d
test18480.d
test18484.d
test18597.d
test18607.d
test18644.d
test18708.d
test18736.d
test19097.d
test19107.d Fix 'overloads' error when there are no overloads 2023-05-08 13:41:57 +02:00
test19112.d
test19176.d
test19193.d
test19473.d
test19608.d
test19646.d
test19661.d
test19971.d
test20023.d
test20096.d
test20149.d
test20245.d Fix Issue 23931 - Error: reference to local variable this calling non-scope member function this.this() (#15368) 2023-06-30 11:00:43 +03:00
test20267.d
test20324.d
test20383.d
test20515.d
test20522.d Fix 10532, 14835, 20522 by adding test cases 2023-09-21 14:59:08 +02:00
test20549.d
test20565.d
test20569.d
test20610.d
test20626.d
test20655.d Fix 20655 - attribute inference accepts unsafe union access as @safe 2023-08-03 15:50:34 +02:00
test20696.d
test20719.d
test20809.d
test20881.d
test20903.d
test20919.d
test20998.d
test21008.d Improve "need this" error (#15430) 2023-07-20 12:41:02 +03:00
test21025.d Update TEST_OUTPUT messages of tests merged from stable 2023-07-02 12:57:28 +02:00
test21062.d
test21093.d
test21096.d
test21164.d
test21198.d
test21204.d
test21246.d
test21259.d
test21319.d
test21353.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
test21380.d
test21443.d
test21477.d
test21518.d
test21546.d
test21651.d
test21665.d
test21807.d
test21912.d Improve @nogc closure error (#15526) 2023-08-12 10:58:49 +02:00
test21927.d
test21930.d
test21939.d
test22023.d
test22048.d
test22070.c
test22102.c
test22145.d
test22227.d
test22246.c
test22298.d
test22329.d Show type location for 'no property' error (#15586) 2023-09-08 16:44:42 +03:00
test22339.c
test22344.c
test22361.d
test22538.c
test22541.d
test22574.d
test22680.d
test22686.d
test22709.d
test22759.c
test22765.d
test22818.d
test22840.d
test22899.c
test22910.d
test22935.c
test22999.d
test23003.c
test23017.d
test23022.d
test23037.c
test23056.c
test23057.c
test23058.c
test23073.d
test23112.d Improve @nogc closure error (#15526) 2023-08-12 10:58:49 +02:00
test23145.d Make non-scope constructor a DIP1000 error 2023-08-01 15:10:43 +02:00
test23159.d
test23170.d
test23216.d
test23279.d Fix Issues 23951 and 23279 - traits(hasMember) does not follow alias this + ICE when using traits(hasMember) on an erroneous member (#15406) 2023-07-14 13:34:04 +02:00
test23491.d
test23536.d
test23552.d
test23607.d
test23672.i
test23674.d
test23710.d
test23715.i
test23719.c fix Issue 23719 - runnable/test22071.c:22:16: error: .abc. is a pointer; did you mean to use .->.? (#15287) 2023-06-01 14:06:41 +03:00
test23789.c
test23873.d
test23875.c Revert "Revert "fix Issue 23875 23880 (#15172)" (#15196)" 2023-05-16 18:47:47 +03:00
test23882.d
test23886.i fix Issue 23886 - ImportC preprocessor directive #ident not supported (#15190) 2023-05-08 11:09:10 +03:00
test23905.d Fix Issue 23905 - Initialization of SumType with opaque enum causes ICE (#15207) 2023-05-10 09:10:54 +03:00
test23968.d Fix Issue 23968 - Deprecation not emitted with alias to template function in UFCS (#15317) 2023-06-21 10:30:23 +03:00
test23982.d Fix 23982 - segfault when printing scope inference failure (#15329) 2023-06-18 13:24:40 +03:00
test24015.d fix Issue 24105 - Dip1000 C variadics not marked as scope should not accept scope arguments (#15553) 2023-08-24 09:10:09 -07:00
test24036.d Fix 24036 - assert message in CTFE becomes ['m', 'e'... 2023-08-08 17:10:02 +02:00
test24065.d Fix Issue 24065 - __traits(getTargetInfo) causes a segfault when passed a non value (#15494) 2023-08-15 23:23:08 +01:00
test24084.d fix Issue 24084 - Add -nothrow Switch to Compiler (#15536) 2023-08-17 17:28:56 -07:00
test24110.d Fix Issue 24110 - [REG2.104] Array comparison lowering apparently not handled properly in __traits(compiles) (#15575) 2023-09-07 14:52:18 +03:00
test24173.c fix Issue 24173 - ImportC: add Microsoft iNN integer literal suffixes (#15654) 2023-10-06 17:45:53 -07:00
test_switch_error.d
testCols.d
testhtml.html
testhtml2.html
testhtml3.html
testInference.d
testnothrow.c
testOpApply.d Fix Issue 21852 - diagnostic: One-liner errors with formatted Loc should print context when -verrors=context (#15529) 2023-08-11 09:06:00 +08:00
testrvaluecpctor.d
testscopestatic.d
testsemi.d Improve expected } error after aggregate members (#15528) 2023-08-12 10:58:35 +02:00
testTypeof.c
throwexp.d
trait_loc_err.d
trait_loc_ov_err.d
traits.d
traits_alone.d
traits_child.d
traits_initSymbol.d
traits_parameters.d
typeerrors.d revert deprecation of scope class (#15380) 2023-07-12 10:37:42 -07:00
udaparams.d
udatypes.d
ufcs.d Better UFCS failure diagnostic (#15208) 2023-05-11 09:59:50 +03:00
union_initialization.d
unmatchedbrace.d Fix Issue 24000 - show open bracket "{" location for Error: matching … (#15334) 2023-06-26 14:00:34 +02:00
var_func_attr.d
vararg2.d
varargsstc.d
vector_types.d
verifyhookexist.d
verrors0.d
verrors5.d
warn7444.d
warn13679.d
widechars.d
write_error.d
xmmslice.d

Tests for diagnostics on compilation failure

Each D file will be compiled and the compilation is expected to fail with exit code 1. The diagnostic emitted must match the predefined diagnostic in the test file, otherwise the test will fail.

Purpose

The point of these files is to test that the compiler produces a correct diagnostic for each error message in the compiler's implementation.

A further aim is that when the compiler does fail these tests, the test case should be crafted to make debugging the compiler as straightforward as practical.

Remarks

Every test in this directory is compiled with -verrors=0 s.t. all error messages will be issued.

Refer to test/README.md for general information and the test guidelines.