What are the worst parts of D?

Atila Neves via Digitalmars-d digitalmars-d at puremagic.com
Thu Sep 25 10:26:02 PDT 2014


On Thursday, 25 September 2014 at 13:50:10 UTC, Jacob Carlborg 
wrote:
> On 25/09/14 09:38, Atila Neves wrote:
>
>> Here's one: having to manually generate the custom main file 
>> for
>> unittest builds. There's no current way (or at least there 
>> wasn't when I
>> brought it up in the dub forum) to tell it to autogenerate a D 
>> file from
>> a dub package and list it as a dependency of the unittest 
>> build.
>
> Hmm, I haven't used Dub to run unit tests. Although, DMD has a 
> "-main" flag that adds an empty main function.

I don't want an empty main function. I want the main function and 
the file it's in to be generated by the build system.

Atila


More information about the Digitalmars-d mailing list