what happened to the reachability diag ?

Basile B. b2.temp at gmx.com
Wed Dec 10 17:53:18 UTC 2025


On Wednesday, 10 December 2025 at 16:07:13 UTC, Kapendev wrote:
> On Wednesday, 10 December 2025 at 15:54:15 UTC, Basile B. wrote:
>> On Wednesday, 10 December 2025 at 15:32:39 UTC, Richard 
>> (Rikki) Andrew Cattermole wrote:
>>> It was removed.
>>>
>>> Its dead code, not hurting anyone, and just being plain 
>>> annoying with templates.
>>
>> at least `main()` is a problem. Obviously the examples are 
>> catchy on purpose. Prepare a console and killall.
>>
>> Seriously I don't get your argument.
>
> It’s easy to use `static if`s or `mixin`s in a way that produce 
> something functionally equivalent to what you wrote. The way 
> things work currently makes it easier to do metaprogramming. In 
> practice this is not an issue even for "normal" code.

no template, no metaprog, no mixin, involved here. You're going 
into Richard answer. Point is just "very simply" that you should 
get a warning here.


More information about the Digitalmars-d-learn mailing list