On Monday, 29 June 2015 at 11:36:42 UTC, ketmar wrote:
it doesn't, afair, but it's quite natural. if user type was throwed out as unused, it would be very strange to insist on keeping it's initialization code.

Personally I would be kinda pissed if the compiler did this, I expect the static ctor to run, even if I don't use the type.

Reply via email to