https://issues.dlang.org/show_bug.cgi?id=18263
--- Comment #2 from RazvanN <[email protected]> --- Come to think of it, there should be no this in static context, so if you remove the static keyword from the foo function, the code will compile. In this case, the compiler should error stating that you cannot you this in a static context. --
