Open vuaru opened 9 years ago
Looks like it may be related to D issue 11260. Maybe it's possible to reproduce the issue with a dummy render!()
function, too? Something like:
void render(ALIASES...)()
{
import std.stdio;
writefln("%s C %s", ALIASES[0], ALIASES[1]);
}
dmd v2.066.1
vibe.d v0.7.22
This reduced code now indeed crashes the compiler same as my original code did.
That dummy render
makes it compile.
It also compiles when I move the C c = new C();
outside the if/then to below the auto rnd = ...
In the D issue it's mentioned that this is supposed to be fixed on recent DMD versions. Can we close this?
dmd 2.067.1
vibe.d 0.7.24-beta.3
Still the same for me.
There is a new bugzilla issue for this. I've added a reduced case of the example here: https://issues.dlang.org/show_bug.cgi?id=10619
You'll be happy to know that Kenji's upcoming fix (the one which covers 9748) will fix that as well then.
I ran into a situation where the compiler would crash&burn with
I seemingly reduced my code to the following. However, the reduced case does not crash as the original did, but it does print garbage. /1 and /3 work fine, /2 has the problem (with the <---------- :).
app.d
views/test.dt