Proposed Enhancement: Deprecate std.conv.text With 0 Arguments

Gary Willoughby via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 22 10:05:59 PDT 2016


On Wednesday, 22 June 2016 at 15:39:11 UTC, Meta wrote:
> If it is called with 0 arguments it will return null. This 
> behaviour has caused several bugs in my code because combined 
> with optional parens and UFCS, it is easy to accidentally call 
> text with 0 args but have it look like passing a variable to a 
> function.

It's really annoying:

https://issues.dlang.org/show_bug.cgi?id=12357


More information about the Digitalmars-d mailing list