parallelism
Arun Chandrasekaran
aruncxy at gmail.com
Sat Jan 27 11:19:37 UTC 2018
On Saturday, 27 January 2018 at 10:49:45 UTC, Arun Chandrasekaran
wrote:
> On Saturday, 27 January 2018 at 10:38:25 UTC, Nicholas Wilson
> wrote:
>> ...
>> [snip]
Simplified test case that still errors:
```
enum Operation {
a,
b
}
import std.traits;
import std.conv;
void main(string[] args) {
foreach (_; 0 .. args.length) {
Operation operation;
switch (operation) {
static foreach(e; EnumMembers!Operation) {
case e:
mixin(to!string(e))();
break;
}
}
}
}
void a() {}
void b() {}
```
More information about the Digitalmars-d-learn
mailing list