One path skips constructor - is this a bug?

Johan Engelen via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 7 14:21:57 PDT 2017


On Thursday, 7 September 2017 at 16:08:53 UTC, Piotr Mitana wrote:
>
> main.d(17): Error: one path skips constructor
> main.d(15): Error: return without calling constructor

http://www.digitalmars.com/d/archives/digitalmars/D/learn/Throwing_exception_in_constructor_28995.html


More information about the Digitalmars-d-learn mailing list