unittest "name" {}

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Thu Feb 16 13:29:48 UTC 2023


On 17/02/2023 2:20 AM, Guillaume Piolat wrote:
> Personally I'm not sure if I could find an interesting name for tests, 
> but I can certainly express their intent in a string literal like in Zig.

Identifier support should probably be only syntax level deep, and be 
treated as if it was a string in the implementation.

So for rapid prototyping and debugging it may be desirable to just use 
an identifier rather than a string if you need it.

Thoughts?


More information about the Digitalmars-d mailing list