Why isn't intended class constructor called?

Zak zjost85 at gmail.com
Mon Jan 28 19:15:04 UTC 2019


On Monday, 28 January 2019 at 18:50:18 UTC, Alex wrote:
> On Monday, 28 January 2019 at 18:34:44 UTC, Zak wrote:
>> [...]
>
> As the error states:
> you are trying to append an int to a string array in the single 
> parameter constructor.
>
> [...]

Thanks for the response, Alex!  But it's not clear to me why the 
first constructor is called at all.  Since I called with two 
parameters, shouldn't it invoke the second constructor?


More information about the Digitalmars-d-learn mailing list