On Thursday, 8 June 2017 at 19:07:50 UTC, cym13 wrote:

Seeing that the one and only D example in the nim article is a broken one (using static instead of enum or static immutable for 'b') we should have started with a correct example before showing the broken one... Good to know for next time.

static variables are initialized with compile-time values. They don't need be immutable for that.

Reply via email to