On Friday, 9 June 2017 at 01:34:14 UTC, Mike Parker wrote:
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.

My bad, I miscopied the code.

Reply via email to