My Little Dustmite: Bisect is Magic

Ethan gooberman at gmail.com
Sat Jul 27 16:59:36 UTC 2019


On Saturday, 27 July 2019 at 16:36:35 UTC, Kagamin wrote:
> Again, in this example the compiler does provide context that 
> assert fails at line 11. Function bodies are compiled at a 
> later stage and it doesn't make sense to compile them if top 
> level declarations failed to compile

Your definition of context is incomplete.

I cannot think of a single programmer that wants to hit compile 
every time they fix one single compiler error just to find 
another single compile error.

Stopping at one static assert is undesired behavior in a 
production environment.

If this behavior is by design, it's terrible design.


More information about the Digitalmars-d mailing list