https://issues.dlang.org/show_bug.cgi?id=16521

--- Comment #1 from Mathias Lang <mathias.l...@sociomantic.com> ---
A bit of debugging proved that the following code is generated:

```
[{
enum ulong idx = 0;
uint unused = _param_1;
case idx:
{
assert(unused == args[idx], "Borken compiler");
break JT;
}
}
]
```

Note: Using `ref` results in the program segfaulting because it will then
dereference an uninitialized `ref`.

--

Reply via email to