Is there any hope for "lazy" and @nogc?

Seb seb at wilzba.ch
Tue Jul 31 14:11:32 UTC 2018


On Tuesday, 31 July 2018 at 07:49:40 UTC, Shachar Shemesh wrote:
> On 31/07/18 10:29, Mike Franklin wrote:
>> Please clarify if I'm missing the point.
>
> You are. I want something along the lines of:
> assertEQ(a, b, "a and b are not equal");
> When run, it would issue an assert that says:
> Assertion failed: 3!=7: a and b are not equal

You could also vote for this PR 
(https://github.com/dlang/dmd/pull/8517) - this PR will generate 
such error messages. It's intended to work in -betterC and @nogc 
(once the PR is ready).


More information about the Digitalmars-d mailing list