The code below causes the compiler to go into an infinite loop, continuously allocating memory until it crashes:
struct Test
{
struct opDispatch(string dummy)
{ enum opDispatch = 1; }
}
auto temp = Test().foo!(int)();
Please *do* allow generics to work inside opDispatch (do not just remove the feature), as it allows for some very neat tricks (like static "late" binding) to be done.