Closed mleise closed 8 years ago
Even more simple:
immutable twoDigitsInBase(uint base) = { 123 , 1232 } ;
I deliberately didn't reduce the actual code to ensure the fix would cover all red markers in case some of them are not just consecutive faults. (It was the first time I retried DDT after a long period of using Mono-D.)
Fair enough :+1: . Although from what I see the only bug here is that variables can be templated as well with the eponymous template syntax, and I didn't know that was possible in D (therefore the parser didn't support it). It wasn't in the D grammar before, but it is now.
This compiles, but has several red markers all over it: